43 lines
791 B
JavaScript
43 lines
791 B
JavaScript
module.exports = {
|
|
"parser": "babel-eslint",
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"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"
|
|
]
|
|
}
|
|
};
|