Skip to content

Commit 08b8503

Browse files
ESLint: Enable flowtype/no-existential-type rule (#2032)
1 parent b40291f commit 08b8503

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.eslintrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ rules:
2020
flowtype/define-flow-type: error
2121
flowtype/newline-after-flow-annotation: [error, always]
2222
flowtype/no-dupe-keys: error
23-
flowtype/no-existential-type: off # TODO
23+
flowtype/no-existential-type: error
2424
flowtype/no-flow-fix-me-comments: off # TODO
2525
flowtype/no-mixed: off
2626
flowtype/no-mutable-array: off

src/type/definition.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// @flow strict
22

3+
// FIXME
4+
/* eslint-disable flowtype/no-existential-type */
5+
36
import objectEntries from '../polyfills/objectEntries';
47
import defineToJSON from '../jsutils/defineToJSON';
58
import defineToStringTag from '../jsutils/defineToStringTag';

0 commit comments

Comments
 (0)