Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: support eslint@8 (#940)
Co-authored-by: Gareth Jones <jones258@gmail.com>
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
3 people committed Oct 14, 2021
1 parent 17cb163 commit 5a9e45f
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 168 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -68,8 +68,12 @@ jobs:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
eslint-version: [6, 7]
eslint-version: [6, 7, 8]
ts-eslint-plugin-version: [4, 5]
exclude:
# ts-eslint/plugin@4 doesn't support eslint@8
- eslint-version: 8
ts-eslint-plugin-version: 4
runs-on: ubuntu-latest

steps:
Expand Down
10 changes: 8 additions & 2 deletions package.json
Expand Up @@ -60,6 +60,9 @@
"projects": [
{
"displayName": "test",
"moduleNameMapper": {
"eslint/use-at-your-own-risk": "eslint/lib/unsupported-api.js"
},
"testPathIgnorePatterns": [
"<rootDir>/lib/.*",
"<rootDir>/src/rules/__tests__/fixtures/*",
Expand Down Expand Up @@ -100,7 +103,7 @@
"babel-jest": "^27.0.0",
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
"dedent": "^0.7.0",
"eslint": "^6.0.0 || ^7.0.0",
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-config": "^2.0.0",
Expand All @@ -123,7 +126,7 @@
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0",
"eslint": "^6.0.0 || ^7.0.0"
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@typescript-eslint/eslint-plugin": {
Expand All @@ -149,5 +152,8 @@
"@semantic-release/git",
"@semantic-release/github"
]
},
"resolutions": {
"@typescript-eslint/experimental-utils": "^5.0.0"
}
}

0 comments on commit 5a9e45f

Please sign in to comment.