redux-scc/.eslintrc.js

37 lines
744 B
JavaScript
Raw Normal View History

2016-09-21 00:58:31 +08:00
module.exports = {
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true,
}
},
plugins: [
'react',
'flowtype',
],
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:flowtype/recommended'
],
settings: {
flowtype: {
onlyFilesWithFlowAnnotation: true,
}
},
rules: {
'react/prop-types': ['off'],
'react/display-name': ['off'],
2016-11-23 17:19:50 +08:00
'no-console': ['off'],
2016-09-21 00:58:31 +08:00
},
env: {
browser: true,
node: true,
es6: true,
},
globals: {
Promise: true,
}
};