Switch to ESLint#4085
Conversation
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#switch-to-eslintor load it into the REPL: |
6593f03 to
7569036
Compare
Codecov Report
@@ Coverage Diff @@
## master #4085 +/- ##
=======================================
Coverage 98.00% 98.01%
=======================================
Files 201 201
Lines 6981 6987 +6
Branches 2049 2051 +2
=======================================
+ Hits 6842 6848 +6
Misses 66 66
Partials 73 73
Continue to review full report at Codecov.
|
|
We've got this https://github.com/rollup/eslint-config-rollup which the plugins repo uses here https://github.com/rollup/plugins/blob/master/.eslintrc.js#L2. It needs some love and a few updates (it's on my todo list) but it's pretty solid. |
6e1d3f4 to
d54048b
Compare
|
Thanks for pointing that out! I think it would be good to align eventually (which should not be too difficult once this PR is merged), but there are a few things in this config I am not 100% sure about. Mostly also the fact that it does not extend any other "recommended" configs which on the one hand makes it more stable, but on the other hand drives up maintenance overhead. |
|
Still, probably no hard arguments against adopting it. I would still stick with the given config for now as it is very close to what we had before. If you ping me once you update the other config, I will move over Rollup core to use it as well. |
6db18aa to
bc7f73a
Compare
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
This will finally replace TSLint with ESLint. It also fixes the commit hook.