File tree 3 files changed +2
-19
lines changed
3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,13 @@ language: node_js
2
2
cache : yarn
3
3
node_js :
4
4
- " 10"
5
- - " 9"
6
5
- " 8"
7
- - " 7"
8
6
- " 6"
9
- - " 4"
10
7
env :
11
8
- ESLINT_VERSION=current
12
9
- ESLINT_VERSION=^5
13
10
- ESLINT_VERSION=^4
14
11
- 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
12
install :
27
13
- if [[ $ESLINT_VERSION != "current" ]]; then
28
14
yarn upgrade "eslint@$ESLINT_VERSION";
Original file line number Diff line number Diff line change 49
49
"vue-eslint-parser" : " ^2.0.2"
50
50
},
51
51
"engines" : {
52
- "node" : " >=4 .0.0"
52
+ "node" : " >=6 .0.0"
53
53
},
54
54
"license" : " MIT"
55
55
}
Original file line number Diff line number Diff line change @@ -196,9 +196,6 @@ function loadInvalidFixture(name) {
196
196
* @param {string } dir - Prettierrc fixture basename.
197
197
* @returns {string } A javascript filename relative to the .prettierrc config.
198
198
*/
199
- function getPrettierRcJsFilename ( dir , file ) {
200
- // Use default parameters when we drop support for node 4
201
- file = typeof file !== 'undefined' ? file : 'dummy.js' ;
202
-
199
+ function getPrettierRcJsFilename ( dir , file = 'dummy.js' ) {
203
200
return path . resolve ( __dirname , `./prettierrc/${ dir } /${ file } ` ) ;
204
201
}
You can’t perform that action at this time.
0 commit comments