eslint-config-mixmax
Version:
Mixmax's WIP style guide for JavaScript.
23 lines (22 loc) • 506 B
JavaScript
module.exports = {
extends: ['./'],
rules: {
'flowtype/no-flow-fix-me-comments': 'error',
'flowtype/no-existential-type': 'error',
'flowtype/no-primitive-constructor-types': 'error',
'flowtype/no-weak-types': [
'error',
{
any: false,
Object: true,
Function: true,
},
],
},
settings: {
// Use the flow linter for all files, based on flow configuring all=true.
flowtype: {
onlyFilesWithFlowAnnotation: false,
},
},
};