Skip to content

Commit 05fd995

Browse files
HenryBrown0ljharb
authored andcommitted
[Tests] add @typescript-eslint/parser v6
1 parent a6ff867 commit 05fd995

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/node-18+.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
node-version: ${{ matrix.node-version }}
4848
after_install: |
49-
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@5" "babel-eslint@${{ matrix.babel-eslint }}"
49+
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@6" "babel-eslint@${{ matrix.babel-eslint }}"
5050
env:
5151
NPM_CONFIG_LEGACY_PEER_DEPS: true
5252
- run: npx ls-engines

.github/workflows/node-minors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
with:
101101
node-version: ${{ matrix.node-version }}
102102
after_install: |
103-
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.node-version >= 14 && '5' || (matrix.node-version >= 12 && '4' || (matrix.node-version >= 10 && '4.0' || (matrix.node-version >= 8 && '3' || '2'))) }}" "babel-eslint@${{ matrix.babel-eslint }}"
103+
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.node-version >= 16 && '6' || matrix.node-version >= 14 && '5' || (matrix.node-version >= 12 && '4' || (matrix.node-version >= 10 && '4.0' || (matrix.node-version >= 8 && '3' || '2'))) }}" "babel-eslint@${{ matrix.babel-eslint }}"
104104
skip-ls-check: ${{ matrix.node-version < 10 && true || false }}
105105
env:
106106
NPM_CONFIG_LEGACY_PEER_DEPS: true

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2424

2525
### Changed
2626
* [Refactor] `variableUtil`: Avoid creating a single flat variable scope for each lookup ([#3782][] @DanielRosenwasser)
27+
* [Tests] add @typescript-eslint/parser v6 ([#3629][] @HenryBrown0)
2728

2829
[#3785]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3785
2930
[#3784]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3784
@@ -34,6 +35,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
3435
[#3771]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3771
3536
[#3759]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3759
3637
[#3748]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3748
38+
[#3746]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3746
3739
[#3724]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3724
3840
[#3694]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3694
3941
[#3629]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3629

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/eslint": "=7.2.10",
5555
"@types/estree": "0.0.52",
5656
"@types/node": "^4.9.5",
57-
"@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0",
57+
"@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0 || ^6.0.0",
5858
"aud": "^2.0.4",
5959
"babel-eslint": "^8 || ^9 || ^10.1.0",
6060
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7",

0 commit comments

Comments
 (0)