diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-06-07 14:44:48 +0300 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-06-08 22:39:19 +0300 |
| commit | 3f9e67cf0e1793d404b29b85ceaa49c281aba591 (patch) | |
| tree | 6aa43f60b568f7cd9fc23c9bf2fb0597b879fd87 | |
| parent | 7f4cb1d35dca5f954082622a6cb6aa84657e3131 (diff) | |
| download | mullvadvpn-3f9e67cf0e1793d404b29b85ceaa49c281aba591.tar.xz mullvadvpn-3f9e67cf0e1793d404b29b85ceaa49c281aba591.zip | |
Add flowtype lint support
| -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", |
