Skip to content

Commit 22fbb5b

Browse files
committed
update eslint config and deps
1 parent 11e72c6 commit 22fbb5b

File tree

6 files changed

+950
-1013
lines changed

6 files changed

+950
-1013
lines changed

Diff for: .babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["es2015", "stage-2"]
2+
"presets": ["env"],
3+
"plugins": ["transform-object-rest-spread"]
34
}

Diff for: .eslintrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"root": true,
3+
"plugins": [
4+
"vue-libs"
5+
],
6+
"extends": [
7+
"plugin:vue-libs/recommended"
8+
]
9+
}

Diff for: .eslintrc.json

-8
This file was deleted.

Diff for: package.json

+7-12
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,15 @@
4040
"homepage": "https://github.com/vuejs/vuex#readme",
4141
"devDependencies": {
4242
"babel-core": "^6.22.1",
43-
"babel-eslint": "^7.1.1",
4443
"babel-loader": "^6.2.10",
45-
"babel-plugin-transform-runtime": "^6.22.0",
44+
"babel-plugin-transform-object-rest-spread": "^6.23.0",
4645
"babel-polyfill": "^6.22.0",
47-
"babel-preset-es2015": "^6.22.0",
48-
"babel-preset-es2015-rollup": "^3.0.0",
49-
"babel-preset-stage-2": "^6.22.0",
50-
"babel-runtime": "^6.22.0",
46+
"babel-preset-env": "^1.5.1",
5147
"chromedriver": "^2.27.2",
5248
"cross-spawn": "^5.0.1",
5349
"css-loader": "^0.26.1",
5450
"eslint": "^3.15.0",
55-
"eslint-config-vue": "^2.0.2",
56-
"eslint-plugin-vue": "^2.0.1",
51+
"eslint-plugin-vue-libs": "^1.1.0",
5752
"express": "^4.14.1",
5853
"jasmine": "2.5.3",
5954
"jasmine-core": "2.5.2",
@@ -68,10 +63,10 @@
6863
"todomvc-app-css": "^2.1.0",
6964
"typescript": "^2.1.5",
7065
"uglify-js": "^2.7.5",
71-
"vue": "^2.1.10",
72-
"vue-loader": "^11.0.0",
73-
"vue-template-compiler": "^2.1.10",
74-
"webpack": "^2.2.1",
66+
"vue": "^2.3.3",
67+
"vue-loader": "^12.0.0",
68+
"vue-template-compiler": "^2.3.3",
69+
"webpack": "^2.6.1",
7570
"webpack-dev-middleware": "^1.10.0",
7671
"webpack-hot-middleware": "^2.16.1"
7772
}
File renamed without changes.

0 commit comments

Comments
 (0)