Browse Source

use eslint-plugin-flowtype (close #3583)

dev
Evan You 8 years ago
parent
commit
34cdf695b6
  1. 6
      .eslintrc
  2. 2
      package.json

6
.eslintrc

@ -2,9 +2,9 @@
"root": true,
"parser": "babel-eslint",
"extends": "vue",
"plugins": ["flow-vars"],
"plugins": ["flowtype"],
"rules": {
"flow-vars/define-flow-type": 1,
"flow-vars/use-flow-type": 1
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1
}
}

2
package.json

@ -66,7 +66,7 @@
"eslint": "^3.4.0",
"eslint-config-vue": "^1.1.0",
"eslint-loader": "^1.3.0",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-flowtype": "^2.16.0",
"eslint-plugin-html": "^1.5.2",
"flow-bin": "^0.31.1",
"flow-remove-types": "github:yyx990803/flow-remove-types",

Loading…
Cancel
Save