kpdecker / jsdiff

A javascript text differencing implementation.
BSD 3-Clause "New" or "Revised" License
7.92k stars 496 forks source link

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

Closed ExplodingCabbage closed 5 months ago

ExplodingCabbage commented 8 months ago

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.

ExplodingCabbage commented 5 months ago

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!