mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
15 lines
485 B
JavaScript
15 lines
485 B
JavaScript
module.exports = {
|
|
parser: 'babel-eslint',
|
|
plugins: ['flowtype', 'github'],
|
|
rules: {
|
|
'flowtype/define-flow-type': 'error',
|
|
'flowtype/require-valid-file-annotation': ['error', 'always', {annotationStyle: 'block'}],
|
|
'flowtype/use-flow-type': 'error',
|
|
'flowtype/no-flow-fix-me-comments': 'error',
|
|
'flowtype/no-primitive-constructor-types': 'error',
|
|
'flowtype/no-weak-types': 'error',
|
|
'github/no-flow-weak': 'error',
|
|
'github/no-noflow': 'error'
|
|
}
|
|
}
|