Closed ToddHedrick closed 7 years ago
Can you share a use case for this?
Currently, all standard errors are displayed as warnings and only parsing errors are displayed as errors. Deactivating this option would therefore completely disable standard and only show an error if your JavaScript is unparsable.
It is exactly as you say, it will only display parsing errors as oppose to formatting errors.
This is for when you are working with other peoples code or with minimized code to determine fatal errors instead of being overwhelmed with warnings about tab expectations, spacing, etc
Thanks! Todd
Sorry, I don’t think this should be part of linter-js-standard as it completely disables standard and basically turns the linter into a simple syntax validator.
There may be value in an Atom linter which only looks for syntax errors, though.
I added in a new option so that JS warnings (like formatting warnings) can be turned off and just fatal warnings are displayed
Let me know if you have any questions Thanks! Todd