You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be useful to check the files puppet-lint can parse, especially in the presence of new, not yet supported language constructs (like the Pattern type mentioned in the other ticket I created a few minutes ago).
The text was updated successfully, but these errors were encountered:
When puppet-lint returns a syntax error, that means it cannot parse the file. It would be unwise at that point to attempt linting, as the parser may not have interpreted the file correctly. See #585 for some effort to simply skip over blocks that may cause syntax errors.
so puppet-lint syntaxerror.pp valid.pp will process valid.pp even though the first one fails? That's something we can look at in 3.0.0 with #586, where the syntax error isn't sometimes causing a crash.
rnelson0
changed the title
No option to ignore files with syntax errors
When multiple files are provided on the command line, continue past any files that cannot be parsed properly
Dec 21, 2016
Would be useful to check the files puppet-lint can parse, especially in the presence of new, not yet supported language constructs (like the Pattern type mentioned in the other ticket I created a few minutes ago).
The text was updated successfully, but these errors were encountered: