Hi everyone, Is it possible not to notify error with puppet-lint when "trailing whitespace" are found in a comment line? Just asking. Regards, JM -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, The README on Github has a nice section about disabling checks: https://github.com/rodjek/puppet-lint Try the --no-<check name>-check flag to disable a check, I guess for the trailing whitespace the --no-trailing-whitespace-check can be used. Regards, Anton On Sep 13, 2012, at 11:46 AM, Antidot SAS <antidotsas@gmail.com> wrote:> Hi everyone, > > > Is it possible not to notify error with puppet-lint when "trailing whitespace" are found in a comment line? > > > Just asking. > > > Regards, > JM > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, I don''t want to remove the error when it is accurate just when it is in a comment line, just asking not a big deal though... On Thu, Sep 13, 2012 at 12:42 PM, Anton Lindström <me@antonlindstrom.com>wrote:> Hi, > > The README on Github has a nice section about disabling checks: > https://github.com/rodjek/puppet-lint > > Try the --no-<check name>-check flag to disable a check, I guess for the > trailing whitespace the --no-trailing-whitespace-check can be used. > > Regards, > Anton > > On Sep 13, 2012, at 11:46 AM, Antidot SAS <antidotsas@gmail.com> wrote: > > > Hi everyone, > > > > > > Is it possible not to notify error with puppet-lint when "trailing > whitespace" are found in a comment line? > > > > > > Just asking. > > > > > > Regards, > > JM > > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, Why is it OK to have trailing whitespace in comments but not code? On Thursday, 13 September 2012 at 4:43 AM, Antidot SAS wrote:> Hi, > > I don''t want to remove the error when it is accurate just when it is in a comment line, just asking not a big deal though... > > > > On Thu, Sep 13, 2012 at 12:42 PM, Anton Lindström <me@antonlindstrom.com (mailto:me@antonlindstrom.com)> wrote: > > Hi, > > > > The README on Github has a nice section about disabling checks: https://github.com/rodjek/puppet-lint > > > > Try the --no-<check name>-check flag to disable a check, I guess for the trailing whitespace the --no-trailing-whitespace-check can be used. > > > > Regards, > > Anton > > > > On Sep 13, 2012, at 11:46 AM, Antidot SAS <antidotsas@gmail.com (mailto:antidotsas@gmail.com)> wrote: > > > > > Hi everyone, > > > > > > > > > Is it possible not to notify error with puppet-lint when "trailing whitespace" are found in a comment line? > > > > > > > > > Just asking. > > > > > > > > > Regards, > > > JM > > > > > > -- > > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > > To post to this group, send email to puppet-users@googlegroups.com (mailto:puppet-users@googlegroups.com). > > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users%2Bunsubscribe@googlegroups.com). > > > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com (mailto:puppet-users@googlegroups.com). > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users%2Bunsubscribe@googlegroups.com). > > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hey, Yep, I though the code was more important then the comment from a formatting point of view but I might be confused. On Thu, Sep 13, 2012 at 4:35 PM, Tim Sharpe <tim@sharpe.id.au> wrote:> Hi, > > Why is it OK to have trailing whitespace in comments but not code? > > On Thursday, 13 September 2012 at 4:43 AM, Antidot SAS wrote: >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.