Skip to content

Commit de46152

Browse files
Oskar KöökJohnNilsson
Oskar Köök
authored andcommitted
Re-enable flowtype warning (#2718)
* Re-enable flowtype warning * Update eslint-plugin-flowtype dependency
1 parent e08b789 commit de46152

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/eslint-config-react-app/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ module.exports = {
291291

292292
// https://github.com/gajus/eslint-plugin-flowtype
293293
'flowtype/define-flow-type': 'warn',
294-
// TODO: Reenable once https://github.com/gajus/eslint-plugin-flowtype/issues/165 is fixed
295-
//'flowtype/require-valid-file-annotation': 'warn',
294+
'flowtype/require-valid-file-annotation': 'warn',
296295
'flowtype/use-flow-type': 'warn',
297296
},
298297
};

packages/eslint-config-react-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"peerDependencies": {
1414
"babel-eslint": "^7.2.3",
1515
"eslint": "^4.1.1",
16-
"eslint-plugin-flowtype": "^2.33.0",
16+
"eslint-plugin-flowtype": "^2.34.1",
1717
"eslint-plugin-import": "^2.2.0",
1818
"eslint-plugin-jsx-a11y": "^5.0.3",
1919
"eslint-plugin-react": "^7.0.1"

0 commit comments

Comments
 (0)