ESLint combined with Babel for syntax highlighting has made my life so much nicer.<p><a href="https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c5b48" rel="nofollow">https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c...</a>
Once you are over the initial hurdle of creating a config file, which is sort of like picking words you like while browsing a dictionary, ESLint is a great replacement for the JSHint and JSCS combination - much more compact and less finicky.<p>Here's a simple .eslintrc that hits pretty much all the high points and syntax conventions that people fight over, while leaving the things that most people agree on as the standard defaults:<p><a href="https://www.exratione.com/2015/07/eslint-as-a-replacement-for-jshint-and-jscs/" rel="nofollow">https://www.exratione.com/2015/07/eslint-as-a-replacement-fo...</a>
ESLint is pretty awesome - the project has a great team and always adding new functionality (cache and then parallel linting sound great)!<p>Although it isn't unique for all the features listed, as JSCS has the same things: an autoconfigure feature, built-in (as well as user created) presets/configs, multiple formatters, custom plugins/rules, custom parsers (esprima/espree/babel), autofixing of almost all rules. Hopefully both projects can benefit or integrate better together more in the future? (I contribute to both!)<p>I think autofixing for all rules (maybe with <a href="https://github.com/cst/cst" rel="nofollow">https://github.com/cst/cst</a>) would be a nice goal for the future when thinking about the next-generation of linters. Making it easier to update configs when new rules/options are added would be nice as well.
ESLint is a very solid tool. As others have noted, you do need to find a good config, but the airbnb JS style guide comes with a very, very good one: <a href="https://github.com/airbnb/javascript" rel="nofollow">https://github.com/airbnb/javascript</a>
Been using eslint for a while now, it truly is great. Using it with the airbnb javascript conf for react development often catches stupid style mistakes and helps my team keep in the same style.
ESLint is nice but it's a pain to setup. A lot of people are beginning to use standard linters built on top of it like `semistandard` [0] .<p>[0] <a href="https://github.com/Flet/semistandard" rel="nofollow">https://github.com/Flet/semistandard</a>
Recommended! My team uses eslint with the "Standard" style, no more arguments about how a for-loop should be written. <a href="http://standardjs.com/" rel="nofollow">http://standardjs.com/</a>
We switched Cylon.js (<a href="https://github.com/hybridgroup/cylon/" rel="nofollow">https://github.com/hybridgroup/cylon/</a>) to use ESLint a few months back. Great tool!