Skip to content

Commit

Permalink
ESLint: Enable flowtype/no-existential-type rule (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 11, 2019
1 parent b40291f commit 08b8503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Expand Up @@ -20,7 +20,7 @@ rules:
flowtype/define-flow-type: error
flowtype/newline-after-flow-annotation: [error, always]
flowtype/no-dupe-keys: error
flowtype/no-existential-type: off # TODO
flowtype/no-existential-type: error
flowtype/no-flow-fix-me-comments: off # TODO
flowtype/no-mixed: off
flowtype/no-mutable-array: off
Expand Down
3 changes: 3 additions & 0 deletions src/type/definition.js
@@ -1,5 +1,8 @@
// @flow strict

// FIXME
/* eslint-disable flowtype/no-existential-type */

import objectEntries from '../polyfills/objectEntries';
import defineToJSON from '../jsutils/defineToJSON';
import defineToStringTag from '../jsutils/defineToStringTag';
Expand Down

0 comments on commit 08b8503

Please sign in to comment.