Skip to content

Commit dcb1062

Browse files
committed
Exclude eslint v6.2.0
if update it to v6.2.0, following code doesn't pass ESLint ```js const list = ['a', 'b', 'c']; for (const i in list) { // <- no-unused-vars "error 'i' is defined but never used" console.log(i); // <- WE USE IT IN THIS LINE!!!!!! } ``` See: https://twitter.com/fetus_hina/status/1163416507138768896 https://twitter.com/fetus_hina/status/1163417546676039681 https://twitter.com/fetus_hina/status/1163421886543323136 #550 eslint/eslint#12117 babel/babel-eslint#791
1 parent 80a2dab commit dcb1062

File tree

2 files changed

+112
-56
lines changed

2 files changed

+112
-56
lines changed

package-lock.json

+111-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"babel-eslint": "^10.0.2",
1515
"bowser": "^2.5.3",
1616
"cssnano": "^4.1.10",
17-
"eslint": "^6.1.0",
17+
"eslint": "<6.2.0||~6.2.1",
1818
"less": "^3.10.1",
1919
"node-zopfli": "^2.0.3",
2020
"optipng-bin": "^6.0.0",

0 commit comments

Comments
 (0)