23 lines
589 B
Plaintext
23 lines
589 B
Plaintext
{
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"rules" : {
|
|
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
|
|
"camelcase": [0],
|
|
"curly": [2],
|
|
"eqeqeq": [2],
|
|
"indent": [2, 2, {"SwitchCase": 1}],
|
|
"max-len": [2, 120, 4, {"ignoreComments": true, "ignoreUrls": true}],
|
|
"no-console": [1],
|
|
"no-shadow": [1],
|
|
"no-trailing-spaces": [2],
|
|
"quotes": [2, "single"],
|
|
"semi": [2, "always"],
|
|
"space-after-keywords": [2, "always"],
|
|
"space-before-blocks": [2],
|
|
"space-infix-ops": [2],
|
|
"space-unary-ops": [2]
|
|
},
|
|
"extends": "eslint:recommended"
|
|
} |