News for hackers. Stuff that matters.
Re:State of the Art JavaScript in 2016 by kmfrk on Friday March 11, 2016 @06:27PM (#11270341)
Why is eslint considered better than jshint+jscs? jscs also supports auto-fixing, which is pretty dope.
Re:State of the Art JavaScript in 2016 by sotojuan on Friday March 11, 2016 @06:33PM (#11270375)
ESLint is extremely configurable and thus has a vibrant plugin ecosystem so I think that's why it has picked up a lot of hype.
Re:State of the Art JavaScript in 2016 by shados on Friday March 11, 2016 @07:34PM (#11270639)
eslint also has auto-fix support to some extent. I don't know how far JSCS pushes it though.

The biggest thing is that whenever something new pops up, you can get an eslint plugin to lint it (eg: it took a wh ile for jshint to be able to take JSX or even just ES6 syntax, while ESLint got plugins for it pretty quick).

I think (don't quote me) that eslint is starting to have pretty cool Flow hooks, too.

Re:State of the Art JavaScript in 2016 by dchest on Friday March 11, 2016 @06:34PM (#11270377)
ESLint catches more errors.
Re:State of the Art JavaScript in 2016 by mariusasdf on Friday March 11, 2016 @07:15PM (#11270567)
eslint is great. Through plugins it supports ES6, jsx, etc. Also, automatic code fixing.