Skip to content

Commit 19ea592

Browse files
Configure majority of undecided relues for 'eslint-plugin-flowtype' (#1532)
1 parent 7874229 commit 19ea592

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.eslintrc.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,38 +38,38 @@ rules:
3838
# `eslint-plugin-flowtype` rule list based on `v2.50.0`
3939
# https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
4040

41-
#flowtype/array-style-complex-type: undecided
42-
#flowtype/array-style-simple-type: undecided
41+
flowtype/array-style-complex-type: [error, verbose]
42+
flowtype/array-style-simple-type: [error, verbose]
4343
flowtype/boolean-style: off
4444
flowtype/define-flow-type: error
4545
flowtype/delimiter-dangle: off
4646
flowtype/generic-spacing: off
47-
#flowtype/newline-after-flow-annotation: undecided
48-
#flowtype/no-dupe-keys: undecided
49-
#flowtype/no-existential-type: undecided
50-
#flowtype/no-flow-fix-me-comments: undecided
51-
#flowtype/no-mutable-array: undecided
52-
#flowtype/no-primitive-constructor-types: undecided
47+
flowtype/newline-after-flow-annotation: [error, always]
48+
flowtype/no-dupe-keys: error
49+
flowtype/no-existential-type: off
50+
flowtype/no-flow-fix-me-comments: off
51+
flowtype/no-mutable-array: off
52+
flowtype/no-primitive-constructor-types: error
5353
flowtype/no-types-missing-file-annotation: error
5454
#flowtype/no-unused-expressions: undecided
5555
flowtype/no-weak-types: [error, {any: false}]
5656
flowtype/object-type-delimiter: off
57-
#flowtype/require-exact-type: undecided
58-
#flowtype/require-parameter-type: undecided
59-
#flowtype/require-return-type: undecided
60-
#flowtype/require-types-at-top: undecided
57+
flowtype/require-exact-type: off
58+
flowtype/require-parameter-type: off
59+
flowtype/require-return-type: off
60+
flowtype/require-types-at-top: off
6161
flowtype/require-valid-file-annotation: [error, always, { annotationStyle: block }]
62-
#flowtype/require-variable-type: undecided
62+
flowtype/require-variable-type: off
6363
flowtype/semi: off
64-
#flowtype/sort-keys: undecided
64+
flowtype/sort-keys: off
6565
flowtype/space-after-type-colon: off
6666
flowtype/space-before-generic-bracket: off
6767
flowtype/space-before-type-colon: off
68-
#flowtype/type-id-match: undecided
68+
flowtype/type-id-match: off
6969
#flowtype/type-import-style: undecided
7070
flowtype/union-intersection-spacing: off
7171
flowtype/use-flow-type: error
72-
#flowtype/valid-syntax: undecided
72+
flowtype/valid-syntax: off
7373

7474
# Possible Errors
7575
# https://eslint.org/docs/rules/#possible-errors

0 commit comments

Comments
 (0)