github-pages-deploy-action/node_modules/eslint-plugin-github/lib/configs/flow.js

15 lines
485 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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'
}
}