30 lines
648 B
Plaintext
30 lines
648 B
Plaintext
{
|
|
"extends": "airbnb",
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-const-assign": "warn",
|
|
"no-this-before-super": "warn",
|
|
"no-undef": "warn",
|
|
"no-unreachable": "warn",
|
|
"no-unused-vars": "warn",
|
|
"constructor-super": "warn",
|
|
"valid-typeof": "warn",
|
|
"semi": [2, "always"],
|
|
"indent": [2,4],
|
|
"no-path-concat": 0
|
|
}
|
|
} |