44 ms·
I'm confused by what "Style checking" (https://github.com/bevacqua/js/#style-checking https://github.com/bevacqua/js/#style-checking) means. Aren't many of the
by mattfenwick 12y ago
I'm confused by what "Style checking" (https://github.com/bevacqua/js/#style-checking https://github.com/bevacqua/js/#style-checking) means.
Aren't many of the other suggestions precisely "style checking" concerns? Semicolons, spacing, string quotes, conditional brackets, etc. ?
Not to say that there isn't a difference -- just that I don't see what it is.
- bevacqua 12y agoAutomated style checkers such as jscs [1]: https://www.npmjs.org/package/jscs https://www.npmjs.org/package/jscs
- mattfenwick 12y agoThat doesn't answer my question as far as I can tell, unless you're saying that: "Style checking" means "Automated style checkers such as jscs"
- madeofpalk 12y agowhat's the difference between a style checker like jscs and a linter like jshint/jslint?
- akbar501 12y agoThey are similar and have some overlap. However, the overlap is not 100%, so it's good practice to use both jshint and jscs together. jshint is a static code analysis tool to identify and flag errors/potential errors in JS code. jscs is purely a style checker.