Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 36b5ecb

Browse files
committed
feat(base): add new eslint-plugin-flowtype rules
1 parent 2e4840e commit 36b5ecb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/eslint-config/flowtype.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ module.exports = {
1010
rules: {
1111
'no-unused-expressions': 'off', // disabled in favor of `flowtype/no-unused-expressions`
1212
// https://github.com/gajus/eslint-plugin-flowtype
13+
'flowtype/array-style-complex-type': ['error', 'shorthand'],
14+
'flowtype/array-style-simple-type': ['error', 'shorthand'],
1315
'flowtype/boolean-style': ['error', 'boolean'],
1416
'flowtype/define-flow-type': 'error',
1517
'flowtype/newline-after-flow-annotation': 'off',

0 commit comments

Comments
 (0)