kpdecker/jsdiff

eslint config is broken somehow - `yarn eslint .` and `yarn grunt eslint` give completely different results

Closed this issue · 1 comments

The latter doesn't seem to respect .eslintrc, since it didn't complain about us using var and we clearly have "no-var": 2 in .eslintrc.

Oh, I think the difference is just because our Gruntfile limits us to linting 'src/**/*.js' and 'test/**/*.js'. Running yarn eslint 'src/**/*.js' 'test/**/*.js' gives the same results as running eslint through Grunt. Me stoopid!