Skip to content

Commit 34cdf69

Browse files
committed
use eslint-plugin-flowtype (close #3583)
1 parent 179ec92 commit 34cdf69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.eslintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"root": true,
33
"parser": "babel-eslint",
44
"extends": "vue",
5-
"plugins": ["flow-vars"],
5+
"plugins": ["flowtype"],
66
"rules": {
7-
"flow-vars/define-flow-type": 1,
8-
"flow-vars/use-flow-type": 1
7+
"flowtype/define-flow-type": 1,
8+
"flowtype/use-flow-type": 1
99
}
1010
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"eslint": "^3.4.0",
6767
"eslint-config-vue": "^1.1.0",
6868
"eslint-loader": "^1.3.0",
69-
"eslint-plugin-flow-vars": "^0.5.0",
69+
"eslint-plugin-flowtype": "^2.16.0",
7070
"eslint-plugin-html": "^1.5.2",
7171
"flow-bin": "^0.31.1",
7272
"flow-remove-types": "github:yyx990803/flow-remove-types",

0 commit comments

Comments
 (0)