Exchange flow plugin with new one (babel/eslint-config-babel#2)

* Change to eslint-plugin-flowtype

* Use new plugin

* Make dependencies peerDependencies

* Readd babel-eslint
This commit is contained in:
Daniel Tschinder
2016-09-24 08:09:47 +02:00
parent b95c7aa556
commit edcf1b59dd
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@ module.exports = {
extends: "eslint:recommended",
plugins: ["flow-vars", "babel"],
rules: {
"flow-vars/define-flow-type": "warn",
"flow-vars/use-flow-type": "warn",
"flowtype/define-flow-type": "warn",
"flowtype/use-flow-type": "warn",
quotes: ["error", "double"],
"no-var": "error",
"keyword-spacing": "error",

View File

@@ -10,10 +10,10 @@
"url": "https://github.com/babel/babel/tree/master/packages/eslint-config-babel"
},
"main": "index.js",
"dependencies": {
"peerDependencies": {
"babel-eslint": "^6.0.0",
"eslint-plugin-babel": "^3.0.0",
"eslint-plugin-flow-vars": "^0.4.0"
"eslint-plugin-flowtype": "^2.4.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"