Skip to content

Commit c2c8a67

Browse files
committed
update eslint config
1 parent 3f2280b commit c2c8a67

File tree

3 files changed

+725
-703
lines changed

3 files changed

+725
-703
lines changed

.eslintrc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"root": true,
3-
"parser": "babel-eslint",
4-
"extends": "vue",
5-
"plugins": ["flow-vars"],
6-
"rules": {
7-
"flow-vars/define-flow-type": 1,
8-
"flow-vars/use-flow-type": 1
9-
}
3+
"plugins": [
4+
"vue-libs",
5+
"flowtype"
6+
],
7+
"extends": [
8+
"plugin:vue-libs/recommended",
9+
"plugin:flowtype/recommended"
10+
]
1011
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
"css-loader": "^0.28.0",
5050
"es6-promise": "^4.0.5",
5151
"eslint": "^3.0.1",
52-
"eslint-config-vue": "^2.0.1",
5352
"eslint-plugin-flow-vars": "^0.5.0",
54-
"eslint-plugin-vue": "^2.0.1",
53+
"eslint-plugin-flowtype": "^2.34.0",
54+
"eslint-plugin-vue-libs": "^1.0.0",
5555
"express": "^4.14.0",
5656
"express-urlrewrite": "^1.2.0",
5757
"flow-bin": "^0.45.0",
@@ -61,7 +61,7 @@
6161
"nightwatch": "^0.9.5",
6262
"nightwatch-helpers": "^1.0.0",
6363
"path-to-regexp": "^1.5.3",
64-
"phantomjs-prebuilt": "^2.1.7",
64+
"phantomjs-prebuilt": "^2.1.14",
6565
"rollup": "^0.41.4",
6666
"rollup-plugin-buble": "^0.15.0",
6767
"rollup-plugin-commonjs": "^8.0.2",

0 commit comments

Comments
 (0)