Skip to content

Commit

Permalink
fix: remove deprecated rule from recommended config (#351)
Browse files Browse the repository at this point in the history
* Remove deprecated rule from recommended config

The [documentation](https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype-rules) states that the rule `flowtype/valid-syntax` is deprecated since Babylon (the Babel parser) v6.10.0 fixes parsing of the invalid syntax this plugin warned against.

* Update recommended.json
  • Loading branch information
Nextbook authored and gajus committed Feb 12, 2019
1 parent 58365a0 commit 7c50b55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/configs/recommended.json
Expand Up @@ -38,8 +38,7 @@
2,
"always"
],
"flowtype/use-flow-type": 1,
"flowtype/valid-syntax": 1
"flowtype/use-flow-type": 1
},
"settings": {
"flowtype": {
Expand Down

0 comments on commit 7c50b55

Please sign in to comment.