Skip to content

Commit 239b661

Browse files
AriPerkkioljharb
authored andcommitted
[Dev Deps] Update @typescript-eslint/parser
- in CI, use the proper version for the node version
1 parent 91cb1b4 commit 239b661

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/node-4+.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
name: 'nvm install ${{ matrix.node-version }} && npm install'
6363
with:
6464
node-version: ${{ matrix.node-version }}
65-
after_install: npm install --no-save "eslint@${{ matrix.eslint }}"
65+
after_install: npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.node-version >= 10 && '3' || '2' }}"
6666
skip-ls-check: true
6767
env:
6868
NPM_CONFIG_LEGACY_PEER_DEPS: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@types/eslint": "=7.2.10",
4747
"@types/estree": "^0.0.47",
4848
"@types/node": "^14.14.37",
49-
"@typescript-eslint/parser": "^2.34.0",
49+
"@typescript-eslint/parser": "^2.34.0 || ^3.10.1",
5050
"aud": "^1.1.5",
5151
"babel-eslint": "^8.2.6",
5252
"eslint": "^3 || ^4 || ^5 || ^6 || ^7",

0 commit comments

Comments
 (0)