diff options
| -rw-r--r-- | .eslintrc | 4 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ { "extends": [ - "eslint:recommended", + "eslint:recommended", "plugin:react/recommended" ], "parser": "babel-eslint", @@ -10,7 +10,7 @@ "modules": true } }, - "plugins": [ "react" ], + "plugins": [ "react", "flowtype" ], "rules": { "indent": [ 2, 2 ], "quotes": [ 2, "single" ], diff --git a/package.json b/package.json index 88b0a893cb..615dfde17c 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "electron-mocha": "^3.3.0", "esdoc": "^0.5.2", "eslint": "^3.14.1", + "eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-react": "^6.9.0", "flow-bin": "^0.46.0", "flow-typed": "^2.1.2", |
