File tree 3 files changed +380
-414
lines changed
3 files changed +380
-414
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
cache : yarn
3
3
node_js :
4
- - " 4"
5
- - " 6"
6
- - " 7"
7
- - " 8"
4
+ - " 10"
8
5
- " 9"
6
+ - " 8"
7
+ - " 7"
8
+ - " 6"
9
+ - " 4"
9
10
env :
10
- - ESLINT_VERSION=latest
11
- - ESLINT_VERSION=3.15.0
12
- before_script :
13
- - if [[ $ESLINT_VERSION != "latest" ]]; then
11
+ - ESLINT_VERSION=current
12
+ - ESLINT_VERSION=^5
13
+ - ESLINT_VERSION=^4
14
+ - ESLINT_VERSION=^3
15
+ matrix :
16
+ # ESLint 5 dropped support node v4 or v7
17
+ exclude :
18
+ - node_js : " 7"
19
+ env : ESLINT_VERSION=current
20
+ - node_js : " 4"
21
+ env : ESLINT_VERSION=current
22
+ - node_js : " 7"
23
+ env : ESLINT_VERSION=^5
24
+ - node_js : " 4"
25
+ env : ESLINT_VERSION=^5
26
+ install :
27
+ - if [[ $ESLINT_VERSION != "current" ]]; then
14
28
yarn upgrade "eslint@$ESLINT_VERSION";
15
29
fi
30
+ - yarn install
31
+ - yarn run --silent eslint --version
Original file line number Diff line number Diff line change 36
36
},
37
37
"devDependencies" : {
38
38
"@not-an-aardvark/node-release-script" : " ^0.1.0" ,
39
- "eslint" : " ^3.14.1 " ,
39
+ "eslint" : " ^5.6.0 " ,
40
40
"eslint-config-not-an-aardvark" : " ^2.0.0" ,
41
41
"eslint-config-prettier" : " ^1.3.0" ,
42
42
"eslint-plugin-eslint-plugin" : " ^0.7.1" ,
You can’t perform that action at this time.
0 commit comments