Skip to content

Commit

Permalink
Lint our codebase with ESLint 8 (#13899)
Browse files Browse the repository at this point in the history
* Use ESLint 8

* Update lockfile
  • Loading branch information
nicolo-ribaudo committed Oct 30, 2021
1 parent b1dca95 commit 07d1a80
Show file tree
Hide file tree
Showing 4 changed files with 314 additions and 309 deletions.
4 changes: 2 additions & 2 deletions eslint/babel-eslint-config-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"./package.json": "./package.json"
},
"peerDependencies": {
"@babel/eslint-parser": "^7.15.0",
"eslint-plugin-flowtype": "^4.6.0"
"@babel/eslint-parser": "^7.16.0",
"eslint-plugin-flowtype": "^8.0.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function readFixture(id, done) {
// readFixture

describe("Rules:", () => {
// eslint-disable-next-line jest/valid-describe-callback
describe("`strict`", strictSuite);
});

Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,18 @@
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/node": "^16.7.13",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"babel-plugin-transform-charcodes": "^0.2.0",
"chalk": "^2.4.2",
"charcodes": "^0.2.0",
"enhanced-resolve": "^5.8.2",
"eslint": "^7.27.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint": "^8.1.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-prettier": "^3.4.0",
"fancy-log": "^1.3.3",
"flow-bin": "^0.123.0",
Expand Down

0 comments on commit 07d1a80

Please sign in to comment.