32 lines
555 B
JSON
32 lines
555 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4,
|
|
{
|
|
"SwitchCase" : 1
|
|
}
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"comma-dangle": 0,
|
|
"no-trailing-spaces" :"warn"
|
|
}
|
|
} |