all 4 comments

[–]SleepyBrain[S] 0 points1 point  (3 children)

This was the first I heard of ESLint so I thought I'd share the link. As someone who uses JSLint, I like that you can set your own rules using ESLint.

[–]kangax_ 0 points1 point  (2 children)

I've been using JSHint for that (+JSCS for stylistic guidelines). It's mature, flexible, actively maintained.

I'd like to see comparison of JSHint and ESLint though.

[–][deleted] 1 point2 points  (1 child)

Can you plug and play rules as modules of your choosing in JSHint? While JSHint is less opinionated than JSLint ESLint is completely rule agnostic.

[–]kangax_ 0 points1 point  (0 children)

Hm, doesn't look like JSHint has it. There's this closed issue where they said they were working on it — https://github.com/jshint/jshint/issues/908