File tree Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,13 @@ language: node_js
22cache : yarn
33node_js :
44 - " 10"
5- - " 9"
65 - " 8"
7- - " 7"
86 - " 6"
9- - " 4"
107env :
118 - ESLINT_VERSION=current
129 - ESLINT_VERSION=^5
1310 - ESLINT_VERSION=^4
1411 - 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
2612install :
2713 - if [[ $ESLINT_VERSION != "current" ]]; then
2814 yarn upgrade "eslint@$ESLINT_VERSION";
Original file line number Diff line number Diff line change 4949 "vue-eslint-parser" : " ^2.0.2"
5050 },
5151 "engines" : {
52- "node" : " >=4 .0.0"
52+ "node" : " >=6 .0.0"
5353 },
5454 "license" : " MIT"
5555}
Original file line number Diff line number Diff line change @@ -196,9 +196,6 @@ function loadInvalidFixture(name) {
196196 * @param {string } dir - Prettierrc fixture basename.
197197 * @returns {string } A javascript filename relative to the .prettierrc config.
198198 */
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' ) {
203200 return path . resolve ( __dirname , `./prettierrc/${ dir } /${ file } ` ) ;
204201}
You can’t perform that action at this time.
0 commit comments