Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable 'flowlint deprecated-type' #2046

Merged
merged 1 commit into from Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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