Skip to content

Commit 7365907

Browse files
committed
feat: support ESLint 8.x
BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0
1 parent 9cf6351 commit 7365907

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.github/workflows/validate.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ name: validate
22
on:
33
push:
44
branches:
5-
- '+([0-9])?(.{+([0-9]),x}).x'
6-
- 'main'
7-
- 'next'
8-
- 'next-major'
9-
- 'beta'
10-
- 'alpha'
11-
- '!all-contributors/**'
5+
- "+([0-9])?(.{+([0-9]),x}).x"
6+
- "main"
7+
- "next"
8+
- "next-major"
9+
- "beta"
10+
- "alpha"
11+
- "!all-contributors/**"
1212
pull_request: {}
1313
jobs:
1414
main:
1515
# ignore all-contributors PRs
1616
if: ${{ !contains(github.head_ref, 'all-contributors') }}
1717
strategy:
1818
matrix:
19-
node: [12, 14, 16]
19+
node: [12.22, 12, 14.7, 14, "16.0", 16]
20+
eslint: [6.8, 6, "7.0", 7, 8]
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: 🛑 Cancel Previous Runs
@@ -44,8 +45,7 @@ jobs:
4445
release:
4546
needs: main
4647
runs-on: ubuntu-latest
47-
if:
48-
${{ github.repository == 'testing-library/eslint-plugin-jest-dom' &&
48+
if: ${{ github.repository == 'testing-library/eslint-plugin-jest-dom' &&
4949
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
5050
github.ref) && github.event_name == 'push' }}
5151
steps:
@@ -73,7 +73,7 @@ jobs:
7373
- name: 🚀 Release
7474
uses: cycjimmy/semantic-release-action@v2
7575
with:
76-
semantic_version: 17
76+
semantic_version: 18
7777
branches: |
7878
[
7979
'+([0-9])?(.{+([0-9]),x}).x',

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@
4040
"validate": "kcd-scripts validate"
4141
},
4242
"dependencies": {
43-
"@babel/runtime": "^7.15.4",
44-
"@testing-library/dom": "^7.31.2",
43+
"@babel/runtime": "^7.16.3",
44+
"@testing-library/dom": "^8.11.1",
4545
"requireindex": "^1.2.0"
4646
},
4747
"devDependencies": {
48-
"@typescript-eslint/parser": "^4.31.1",
49-
"eslint": "^7.31.0",
48+
"@typescript-eslint/parser": "^5.4.0",
49+
"eslint": "^7.32.0",
5050
"eslint-remote-tester": "^1.3.1",
51-
"jest-extended": "^0.11.5",
51+
"jest-extended": "^1.1.0",
5252
"kcd-scripts": "^11.2.2",
53-
"typescript": "^4.4.3"
53+
"typescript": "^4.5.2"
5454
},
5555
"peerDependencies": {
56-
"eslint": ">=6.8"
56+
"eslint": "^6.8.0 || ^7.0.0 || ^8.0.0"
5757
},
5858
"eslintConfig": {
5959
"extends": "./node_modules/kcd-scripts/eslint.js",
@@ -72,7 +72,7 @@
7272
"eslint-remote-tester-results"
7373
],
7474
"engines": {
75-
"node": "^10.12.0 || >=12.0.0",
75+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0",
7676
"npm": ">=6",
7777
"yarn": ">=1"
7878
}

0 commit comments

Comments
 (0)