Skip to content

Commit

Permalink
Enable 'flowlint deprecated-type' (#2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 22, 2019
1 parent 166317a commit bbab902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Expand Up @@ -16,7 +16,7 @@ rules:
flowtype/define-flow-type: error
flowtype/newline-after-flow-annotation: [error, always]
flowtype/no-dupe-keys: error
flowtype/no-existential-type: error
flowtype/no-existential-type: off # checked by Flow
flowtype/no-flow-fix-me-comments: off # TODO
flowtype/no-mixed: off
flowtype/no-mutable-array: off
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig
Expand Up @@ -19,7 +19,7 @@ untyped-type-import=error
nonstrict-import=off
untyped-import=off
unclear-type=off
deprecated-type=off
deprecated-type=error
deprecated-utility=error
dynamic-export=off
unsafe-getters-setters=error
Expand Down
2 changes: 1 addition & 1 deletion src/type/definition.js
@@ -1,7 +1,7 @@
// @flow strict

// FIXME
/* eslint-disable flowtype/no-existential-type */
// flowlint deprecated-type:off

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

0 comments on commit bbab902

Please sign in to comment.