Skip to content

Commit 47a0138

Browse files
committed
fix: stop testing ESLint 5 (#893)
BREAKING CHANGE: Drop support for ESLint 5
1 parent 13c041a commit 47a0138

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/nodejs.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
node-version: [12.x, 14.x, 16.x]
71-
eslint-version: [5, 6, 7]
71+
eslint-version: [6, 7]
7272
runs-on: ubuntu-latest
7373

7474
steps:
@@ -83,12 +83,11 @@ jobs:
8383
yarn
8484
yarn add --dev eslint@${{ matrix.eslint-version }}
8585
- name: run tests
86-
# only collect coverage on eslint versions that support the suggestions api
87-
run: yarn test --coverage ${{ matrix.eslint-version >= 6 }}
86+
run: yarn test --coverage
8887
env:
8988
CI: true
9089
- uses: codecov/[email protected]
91-
if: ${{ matrix.eslint-version >= 6 }}
90+
if: always()
9291
test-os:
9392
name: Test on ${{ matrix.os }} using Node.js LTS
9493
needs: prepare-yarn-cache

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"babel-jest": "^27.0.0",
101101
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
102102
"dedent": "^0.7.0",
103-
"eslint": "^5.1.0 || ^6.0.0 || ^7.0.0",
103+
"eslint": "^6.0.0 || ^7.0.0",
104104
"eslint-config-prettier": "^6.5.0",
105105
"eslint-plugin-eslint-comments": "^3.1.2",
106106
"eslint-plugin-eslint-config": "^2.0.0",
@@ -123,7 +123,7 @@
123123
},
124124
"peerDependencies": {
125125
"@typescript-eslint/eslint-plugin": ">= 4",
126-
"eslint": ">=5"
126+
"eslint": ">=6"
127127
},
128128
"peerDependenciesMeta": {
129129
"@typescript-eslint/eslint-plugin": {

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -4526,7 +4526,7 @@ __metadata:
45264526
babel-jest: ^27.0.0
45274527
babel-plugin-replace-ts-export-assignment: ^0.0.2
45284528
dedent: ^0.7.0
4529-
eslint: ^5.1.0 || ^6.0.0 || ^7.0.0
4529+
eslint: ^6.0.0 || ^7.0.0
45304530
eslint-config-prettier: ^6.5.0
45314531
eslint-plugin-eslint-comments: ^3.1.2
45324532
eslint-plugin-eslint-config: ^2.0.0
@@ -4548,7 +4548,7 @@ __metadata:
45484548
typescript: ^4.4.0
45494549
peerDependencies:
45504550
"@typescript-eslint/eslint-plugin": ">= 4"
4551-
eslint: ">=5"
4551+
eslint: ">=6"
45524552
peerDependenciesMeta:
45534553
"@typescript-eslint/eslint-plugin":
45544554
optional: true
@@ -4630,7 +4630,7 @@ __metadata:
46304630
languageName: node
46314631
linkType: hard
46324632

4633-
"eslint@npm:^5.1.0 || ^6.0.0 || ^7.0.0":
4633+
"eslint@npm:^6.0.0 || ^7.0.0":
46344634
version: 7.32.0
46354635
resolution: "eslint@npm:7.32.0"
46364636
dependencies:

0 commit comments

Comments
 (0)