Skip to content

Commit 1c1e4f0

Browse files
committed
feat(deps): upgrade eslint
adjust eslint config, and adjust some code to fit the style.
1 parent 4657da4 commit 1c1e4f0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.eslintrc.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"node": true,
99
"es6": true
1010
},
11-
"parser": "espree",
11+
"parserOptions": {
12+
"ecmaVersion": 6,
13+
"sourceType": "module"
14+
},
1215
"rules": {
1316
"no-alert": "off",
1417
"no-array-constructor": "off",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@
150150
"@types/webpack": "^2.0.0",
151151
"chai": "^3.5.0",
152152
"conventional-changelog": "^1.1.0",
153-
"eslint": "^2.8.0",
154153
"dtsgenerator": "^0.8.3",
154+
"eslint": "^3.11.0",
155155
"express": "^4.14.0",
156156
"jasmine": "^2.4.1",
157157
"jasmine-spec-reporter": "^2.7.0",

tests/acceptance/github-pages-deploy.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('Acceptance: ng github-pages:deploy', function() {
2828
return fsMkdir('./dist')
2929
.then(() => {
3030
let indexHtml = path.join(process.cwd(), 'dist', 'index.html');
31-
let indexData = `<title>project</title>\n<base href="/">`;
31+
let indexData = '<title>project</title>\n<base href="/">';
3232
return fsWriteFile(indexHtml, indexData, 'utf8');
3333
});
3434
}

0 commit comments

Comments
 (0)