Skip to content

Commit

Permalink
feat: support ESLint 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Aug 29, 2021
1 parent 1251088 commit 81eb8a6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -3,7 +3,7 @@
"airbnb-base",
"plugin:flowtype/recommended"
],
parser: "babel-eslint",
parser: "@babel/eslint-parser",
plugins: [
"flowtype"
],
Expand Down
29 changes: 23 additions & 6 deletions .github/workflows/node-4+.yml
Expand Up @@ -24,25 +24,40 @@ jobs:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
eslint:
- 7
- 6
- 5
- 4
- 3
eslint: ['^8.0.0-0', 7, 6, 5, 4, 3]
exclude:
- node-version: 15
eslint: '^8.0.0-0'
- node-version: 13
eslint: '^8.0.0-0'
- node-version: 11
eslint: '^8.0.0-0'
- node-version: 11
eslint: 7
- node-version: 10
eslint: '^8.0.0-0'
- node-version: 9
eslint: '^8.0.0-0'
- node-version: 9
eslint: 7
- node-version: 8
eslint: '^8.0.0-0'
- node-version: 8
eslint: 7
- node-version: 7
eslint: '^8.0.0-0'
- node-version: 7
eslint: 7
- node-version: 7
eslint: 6
- node-version: 6
eslint: '^8.0.0-0'
- node-version: 6
eslint: 7
- node-version: 6
eslint: 6
- node-version: 5
eslint: '^8.0.0-0'
- node-version: 5
eslint: 7
- node-version: 5
Expand All @@ -53,6 +68,8 @@ jobs:
eslint: 4
- node-version: 5 # TODO: fix
eslint: 3
- node-version: 4
eslint: '^8.0.0-0'
- node-version: 4
eslint: 7
- node-version: 4
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -31,17 +31,17 @@
"jest": "jest --coverage __tests__/**/*"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
"aud": "^1.1.5",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-preset-airbnb": "^5.0.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8.0.0-0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-flowtype": "^5.8.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-flowtype": "^5.9.1",
"eslint-plugin-import": "^2.24.2",
"estraverse": "^5.2.0",
"expect": "^24.9.0",
"flow-bin": "^0.147.0",
Expand Down Expand Up @@ -73,7 +73,7 @@
"minimatch": "^3.0.4"
},
"peerDependencies": {
"eslint": "^3 || ^4 || ^5 || ^6 || ^7"
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8.0.0-0"
},
"jest": {
"coverageReporters": [
Expand Down

0 comments on commit 81eb8a6

Please sign in to comment.