Skip to content

Commit e894f51

Browse files
authoredJan 24, 2022
fix: migrate to non-experimental ts-eslint utils (#1035)
`@typescript-eslint/experimental-utils` has been renamed to `@typescript-eslint/utils`. BREAKING CHANGE: Drop support for `@typescript-eslint/eslint-plugin@4`
1 parent 4449919 commit e894f51

File tree

87 files changed

+150
-229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+150
-229
lines changed
 

‎.github/workflows/nodejs.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,13 @@ jobs:
6262
test-node:
6363
name:
6464
# prettier-ignore
65-
Test on Node.js v${{ matrix.node-version }}, eslint v${{ matrix.eslint-version }} and ts-eslint/plugin v${{ matrix.ts-eslint-plugin-version }}
65+
Test on Node.js v${{ matrix.node-version }}, eslint v${{ matrix.eslint-version }}
6666
needs: prepare-yarn-cache
6767
strategy:
6868
fail-fast: false
6969
matrix:
7070
node-version: [12.x, 14.x, 16.x]
7171
eslint-version: [6, 7, 8]
72-
ts-eslint-plugin-version: [4, 5]
73-
exclude:
74-
# ts-eslint/plugin@4 doesn't support eslint@8
75-
- eslint-version: 8
76-
ts-eslint-plugin-version: 4
7772
runs-on: ubuntu-latest
7873

7974
steps:
@@ -85,10 +80,10 @@ jobs:
8580
cache: yarn
8681
- name:
8782
# prettier-ignore
88-
install with eslint v${{ matrix.eslint-version }} and ts-eslint/plugin v${{ matrix.ts-eslint-plugin-version }}
83+
install with eslint v${{ matrix.eslint-version }}
8984
run: |
9085
yarn
91-
yarn add --dev eslint@${{ matrix.eslint-version }} @typescript-eslint/eslint-plugin@${{ matrix.ts-eslint-plugin-version }} @typescript-eslint/parser@${{ matrix.ts-eslint-plugin-version }}
86+
yarn add --dev eslint@${{ matrix.eslint-version }}
9287
- name: run tests
9388
run: yarn test --coverage
9489
env:

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
]
8383
},
8484
"dependencies": {
85-
"@typescript-eslint/experimental-utils": "^5.0.0"
85+
"@typescript-eslint/utils": "^5.10.0"
8686
},
8787
"devDependencies": {
8888
"@babel/cli": "^7.4.4",
@@ -127,7 +127,7 @@
127127
"typescript": "^4.4.0"
128128
},
129129
"peerDependencies": {
130-
"@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0",
130+
"@typescript-eslint/eslint-plugin": "^5.0.0",
131131
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
132132
},
133133
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)
Please sign in to comment.