Skip to content

Commit 7f37d95

Browse files
committed
Drop support for ESLint<6
1 parent ef4d4aa commit 7f37d95

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,8 @@ jobs:
5757
- eslint: 6
5858
node: 18
5959
os: ubuntu-latest
60-
- eslint: 5
61-
node: 18
62-
os: ubuntu-latest
63-
- eslint: 4
64-
node: 18
65-
os: ubuntu-latest
6660
# On the minimum supported ESLint/Node.js version
67-
- eslint: 4
61+
- eslint: 6
6862
node: 14.18.0
6963
os: ubuntu-latest
7064

@@ -79,23 +73,11 @@ jobs:
7973
- name: Uninstall Packages
8074
run: |+
8175
npm r -D vuepress eslint-plugin-eslint-plugin eslint-plugin-prettier vue-eslint-parser eslint-plugin-vue
82-
- name: Install for ESLint v4
83-
run: |+
84-
npm i -D eslint-utils@2 --legacy-peer-deps
85-
if: "matrix.eslint == 4"
86-
- name: Install for ESLint v5
87-
run: |+
88-
npm i -D @typescript-eslint/parser@4 --legacy-peer-deps
89-
if: "matrix.eslint == 5"
9076
- name: Install ESLint ${{ matrix.eslint }}
9177
run: |+
9278
npm install -D eslint@${{ matrix.eslint }}
9379
npx rimraf node_modules
9480
- name: Install Packages
9581
run: npm install
96-
if: "matrix.eslint != 4"
97-
- name: Install Packages --legacy-peer-deps
98-
run: npm install --legacy-peer-deps
99-
if: "matrix.eslint == 4"
10082
- name: Test
10183
run: npm run -s test:mocha

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm install --save-dev eslint eslint-plugin-es-x
2626

2727
::: tip Requirements
2828
- Node.js `14.18.0` or newer, except `15.x`.
29-
- ESLint `4.19.1` or newer.
29+
- ESLint `6.x` or newer.
3030
:::
3131

3232
## 📖 Usage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lib"
1111
],
1212
"peerDependencies": {
13-
"eslint": ">=4.19.1"
13+
"eslint": ">=6"
1414
},
1515
"dependencies": {
1616
"eslint-utils": "^2.0.0 || ^3.0.0",

0 commit comments

Comments
 (0)