37 lines
652 B
JavaScript
37 lines
652 B
JavaScript
|
module.exports = {
|
||
|
"env": {
|
||
|
"commonjs": true,
|
||
|
"es6": true
|
||
|
},
|
||
|
"extends": "eslint:recommended",
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"experimentalObjectRestSpread": true,
|
||
|
"jsx": true
|
||
|
}
|
||
|
},
|
||
|
"plugins": [
|
||
|
"react"
|
||
|
],
|
||
|
"rules": {
|
||
|
"indent": [
|
||
|
"error",
|
||
|
4
|
||
|
],
|
||
|
"linebreak-style": [
|
||
|
"error",
|
||
|
"unix"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"no-control-regex": [
|
||
|
"off"
|
||
|
],
|
||
|
"no-empty": [
|
||
|
"off"
|
||
|
]
|
||
|
}
|
||
|
};
|