chore: fix flow linting
This commit is contained in:
committed by
Michael Vines
parent
c09e826c15
commit
8b95f41c51
@ -8,12 +8,14 @@ module.exports = {
|
||||
'eslint:recommended',
|
||||
'plugin:import/errors',
|
||||
'plugin:import/warnings',
|
||||
'plugin:flowtype/recommended',
|
||||
],
|
||||
parser: 'babel-eslint',
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 8,
|
||||
},
|
||||
plugins: ['flowtype'],
|
||||
rules: {
|
||||
'no-trailing-spaces': ['error'],
|
||||
'import/first': ['error'],
|
||||
@ -45,6 +47,7 @@ module.exports = {
|
||||
],
|
||||
'require-await': ['error'],
|
||||
semi: ['error', 'always'],
|
||||
'flowtype/generic-spacing': [0],
|
||||
},
|
||||
|
||||
// Used to lint the TypeScript type declaration file
|
||||
|
Reference in New Issue
Block a user