Skip to content

Commit 0a40665

Browse files
authored
Drop support for node v10, v11, v13, and v15 (#66)
1 parent 7102d2d commit 0a40665

File tree

4 files changed

+6
-25
lines changed

4 files changed

+6
-25
lines changed

.github/workflows/NodeCI.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,14 @@ jobs:
1818
run: npm install
1919
- name: Lint
2020
run: npm run lint
21-
test-for-node10:
22-
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
23-
runs-on: ${{ matrix.os }}
24-
strategy:
25-
matrix:
26-
os: [ubuntu-latest]
27-
node: [10]
28-
eslint: [7]
29-
steps:
30-
- uses: actions/checkout@v2
31-
- name: Use Node.js ${{ matrix.node }}
32-
uses: actions/setup-node@v2
33-
with:
34-
node-version: ${{ matrix.node }}
35-
- name: Install ESLint ${{ matrix.eslint }}
36-
run: |+
37-
npm i -D eslint@${{ matrix.eslint }} --legacy-peer-deps
38-
npx rimraf node_modules
39-
- name: Install Packages
40-
run: npm install --legacy-peer-deps
41-
- name: Test
42-
run: npm test
4321
test:
4422
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
4523
runs-on: ${{ matrix.os }}
4624
strategy:
4725
matrix:
4826
os: [ubuntu-latest]
4927
eslint: [7, 8]
50-
node: [12, 14, 16]
28+
node: [12, 14, 16, 17]
5129
steps:
5230
- name: Checkout
5331
uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
5151
> **Requirements**
5252
>
5353
> - ESLint v7.0.0 and above
54-
> - Node.js v10.13.0 and above
54+
> - Node.js v12.22.x, v14.17.x, v16.x and above
5555
5656
<!--DOCS_IGNORE_END-->
5757

docs/user-guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
99
::: tip Requirements
1010

1111
- ESLint v7.0.0 and above
12-
- Node.js v10.13.0 and above
12+
- Node.js v12.22.x, v14.17.x, v16.x and above
1313

1414
:::
1515

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"files": [
1010
"lib"
1111
],
12+
"engines": {
13+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
14+
},
1215
"scripts": {
1316
"prebuild": "npm run -s clean",
1417
"build": "npm run build:ts",

0 commit comments

Comments
 (0)