File tree Expand file tree Collapse file tree 3 files changed +23
-30
lines changed Expand file tree Collapse file tree 3 files changed +23
-30
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/checkout@v3
17
17
- name : Install Node.js
18
18
uses : actions/setup-node@v3
19
- with :
20
- node-version : 14
21
19
- name : Install Packages
22
20
run : npm install
23
21
- name : Lint
@@ -28,43 +26,46 @@ jobs:
28
26
29
27
strategy :
30
28
matrix :
31
- eslint : [8]
32
- node : [16]
33
- os : [ubuntu-latest]
34
29
include :
30
+ - eslint : 8
31
+ node : 18
32
+ os : ubuntu-latest
35
33
# On other platforms
36
34
- eslint : 8
37
- node : 16
35
+ node : 18
38
36
os : windows-latest
39
37
- eslint : 8
40
- node : 16
38
+ node : 18
41
39
os : macos-latest
42
- # On old Node.js versions
40
+ # On other Node.js versions
43
41
- eslint : 8
44
- node : 14
42
+ node : 19
45
43
os : ubuntu-latest
46
- - eslint : 7
47
- node : 12
44
+ - eslint : 8
45
+ node : 16
48
46
os : ubuntu-latest
49
- - eslint : 7
50
- node : 10
47
+ - eslint : 8
48
+ node : 17
49
+ os : ubuntu-latest
50
+ - eslint : 8
51
+ node : 14
51
52
os : ubuntu-latest
52
53
# On old ESLint versions
53
54
- eslint : 7
54
- node : 16
55
+ node : 18
55
56
os : ubuntu-latest
56
57
- eslint : 6
57
- node : 16
58
+ node : 18
58
59
os : ubuntu-latest
59
60
- eslint : 5
60
- node : 16
61
+ node : 18
61
62
os : ubuntu-latest
62
63
- eslint : 4
63
- node : 16
64
+ node : 18
64
65
os : ubuntu-latest
65
66
# On the minimum supported ESLint/Node.js version
66
67
- eslint : 4
67
- node : " 8.10 "
68
+ node : 14.18.0
68
69
os : ubuntu-latest
69
70
70
71
runs-on : ${{ matrix.os }}
78
79
- name : Uninstall Packages
79
80
run : |+
80
81
npm r -D vuepress eslint-plugin-eslint-plugin eslint-plugin-prettier vue-eslint-parser eslint-plugin-vue
81
- - name : Install for Node v8
82
- run : |+
83
- npm i -D @typescript-eslint/parser@3 mocha@7
84
- if : " matrix.node == '8.10'"
85
- - name : Install for Node v10
86
- run : |+
87
- npm i -D mocha@9
88
- if : " matrix.node == 10"
89
82
- name : Install for ESLint v4
90
83
run : |+
91
84
npm i -D eslint-utils@2 --legacy-peer-deps
100
93
npx rimraf node_modules
101
94
- name : Install Packages
102
95
run : npm install
103
- if : " matrix.eslint != 4 || matrix.node == '8.10' "
96
+ if : " matrix.eslint != 4"
104
97
- name : Install Packages --legacy-peer-deps
105
98
run : npm install --legacy-peer-deps
106
- if : " matrix.eslint == 4 && matrix.node != '8.10' "
99
+ if : " matrix.eslint == 4"
107
100
- name : Test
108
101
run : npm run -s test:mocha
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ npm install --save-dev eslint eslint-plugin-es-x
25
25
```
26
26
27
27
::: tip Requirements
28
- - Node.js ` 8.10 .0` or newer.
28
+ - Node.js ` 14.18 .0` or newer, except ` 15.x ` .
29
29
- ESLint ` 4.19.1 ` or newer.
30
30
:::
31
31
Original file line number Diff line number Diff line change 3
3
"version" : " 5.4.0" ,
4
4
"description" : " ESLint plugin about ECMAScript syntactic features." ,
5
5
"engines" : {
6
- "node" : " >=8.10 .0"
6
+ "node" : " ^14.18.0 || >=16.0 .0"
7
7
},
8
8
"main" : " lib/index.js" ,
9
9
"files" : [
You can’t perform that action at this time.
0 commit comments