diff --git a/.eslintrc b/.eslintrc index 748fd92..062c4dd 100755 --- a/.eslintrc +++ b/.eslintrc @@ -17,9 +17,13 @@ "react/react-in-jsx-scope": 2 }, "plugins": [ + "flowtype", "react" ], - "extends": "airbnb", + "extends": [ + "plugin:flowtype/recommended", + "airbnb" + ], "globals": { "describe" : false, "it" : false, diff --git a/package.json b/package.json index f8ac992..1e3ca13 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "cross-env": "1.0.7", "eslint": "2.12.0", "eslint-config-airbnb": "9.0.1", + "eslint-plugin-flowtype": "2.29.2", "eslint-plugin-import": "1.8.1", "eslint-plugin-jsx-a11y": "1.3.0", "eslint-plugin-react": "5.1.1",