File tree 4 files changed +6
-25
lines changed 4 files changed +6
-25
lines changed Original file line number Diff line number Diff line change @@ -18,36 +18,14 @@ jobs:
18
18
run : npm install
19
19
- name : Lint
20
20
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
43
21
test :
44
22
name : " Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
45
23
runs-on : ${{ matrix.os }}
46
24
strategy :
47
25
matrix :
48
26
os : [ubuntu-latest]
49
27
eslint : [7, 8]
50
- node : [12, 14, 16]
28
+ node : [12, 14, 16, 17 ]
51
29
steps :
52
30
- name : Checkout
53
31
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
51
51
> ** Requirements**
52
52
>
53
53
> - 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
55
55
56
56
<!-- DOCS_IGNORE_END-->
57
57
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
9
9
::: tip Requirements
10
10
11
11
- 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
13
13
14
14
:::
15
15
Original file line number Diff line number Diff line change 9
9
"files" : [
10
10
" lib"
11
11
],
12
+ "engines" : {
13
+ "node" : " ^12.22.0 || ^14.17.0 || >=16.0.0"
14
+ },
12
15
"scripts" : {
13
16
"prebuild" : " npm run -s clean" ,
14
17
"build" : " npm run build:ts" ,
You can’t perform that action at this time.
0 commit comments