yapi/client/.eslintrc.js

21 lines
422 B
JavaScript
Raw Normal View History

2017-07-06 01:09:33 +08:00
module.exports = {
parser: 'babel-eslint',
extends: ["eslint:recommended", "plugin:react/recommended"],
2017-07-10 20:30:11 +08:00
"env": {
"browser": true
},
2017-07-06 01:09:33 +08:00
parserOptions: {
2017-07-10 13:38:45 +08:00
"sourceType": 'module',
"ecmaFeatures": {
2017-07-06 01:09:33 +08:00
"jsx": true
}
},
plugins: [
"react"
],
rules: {
2017-07-10 13:38:45 +08:00
"indent": ["error", 2, { "SwitchCase": 1 }],
"react/display-name": ["off"]
2017-07-06 01:09:33 +08:00
}
}