Skip to content

Commit f5bd822

Browse files
HenryBrown0ljharb
authored andcommitted
[Tests] add @typescript-eslint/parser v6
1 parent 8004ff5 commit f5bd822

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/node-18+.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
node-version: ${{ matrix.node-version }}
4747
after_install: |
48-
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@5" "babel-eslint@${{ matrix.babel-eslint }}"
48+
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@6" "babel-eslint@${{ matrix.babel-eslint }}"
4949
env:
5050
NPM_CONFIG_LEGACY_PEER_DEPS: true
5151
- run: npx ls-engines

.github/workflows/node-minors.yml

+1-1
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

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2828
* [Refactor] [`function-component-definition`]: exit early if no type params ([#3634][] @HenryBrown0)
2929
* [Refactor] [`jsx-props-no-multi-spaces`]: extract type parameters to var ([#3634][] @HenryBrown0)
3030
* [Docs] [`jsx-key`]: fix correct example ([#3656][] @developer-bandi)
31+
* [Tests] add @typescript-eslint/parser v6 ([#3629][] @HenryBrown0)
3132

3233
[#3668]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3668
3334
[#3666]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3666

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/eslint": "=7.2.10",
5353
"@types/estree": "0.0.52",
5454
"@types/node": "^4.9.5",
55-
"@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0",
55+
"@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0 || ^6.0.0",
5656
"aud": "^2.0.4",
5757
"babel-eslint": "^8 || ^9 || ^10.1.0",
5858
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",

0 commit comments

Comments
 (0)