Skip to content

Commit 30e013c

Browse files
committed
eslint: Turn off rule import/named, as covered by Flow
We'd like to use Flow enums soon; see code comment for how this helps prepare for that.
1 parent 0ad2684 commit 30e013c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.eslintrc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ rules:
234234
# Imports; plugin `import`.
235235
#
236236

237+
# Issue with Flow enums:
238+
# https://github.com/import-js/eslint-plugin-import/issues/2073
239+
# Turn off; seems like this rule's purpose is covered by Flow; discussion:
240+
# https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Flow.20enums/near/1406529
241+
import/named: off # https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/named.md
242+
237243
import/prefer-default-export: off
238244

239245
# Compare these two rules with the override below.

0 commit comments

Comments
 (0)