Skip to content

Commit

Permalink
Re-enable flowtype warning (facebook#2718)
Browse files Browse the repository at this point in the history
* Re-enable flowtype warning

* Update eslint-plugin-flowtype dependency
  • Loading branch information
Oskar Köök authored and kasperpeulen committed Sep 24, 2017

Verified

This commit was signed with the committer’s verified signature.
MylesBorins Myles Borins
1 parent 05fb04b commit 40615bd
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
@@ -291,8 +291,7 @@ module.exports = {

// https://github.com/gajus/eslint-plugin-flowtype
'flowtype/define-flow-type': 'warn',
// TODO: Reenable once https://github.com/gajus/eslint-plugin-flowtype/issues/165 is fixed
//'flowtype/require-valid-file-annotation': 'warn',
'flowtype/require-valid-file-annotation': 'warn',
'flowtype/use-flow-type': 'warn',
},
};
2 changes: 1 addition & 1 deletion packages/eslint-config-react-app/package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"peerDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^4.1.1",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1"

0 comments on commit 40615bd

Please sign in to comment.