Ignored "camelcase", "new-cap", and "quotes" JavaScript rules.
This commit is contained in:
parent
5dceb7c828
commit
3c0770f23d
29
.eslintrc
29
.eslintrc
|
@ -1,18 +1,12 @@
|
||||||
{
|
{
|
||||||
"rules": {
|
"rules": {
|
||||||
"camelcase": [1, {"properties": "always"}],
|
"camelcase": [0, {"properties": "always"}],
|
||||||
"comma-spacing": [2, {"before": false, "after": true}],
|
"comma-spacing": [2, {"before": false, "after": true}],
|
||||||
"dot-notation": [2, {"allowKeywords": true}],
|
"dot-notation": [2, {"allowKeywords": true}],
|
||||||
"curly": [2, "all"],
|
"curly": [2, "all"],
|
||||||
"indent": [
|
"indent": [2, 4],
|
||||||
2,
|
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
|
||||||
4
|
"new-cap": [0, {"newIsCap": true, "capIsNew": true}],
|
||||||
],
|
|
||||||
"key-spacing": [2, {
|
|
||||||
"beforeColon": false,
|
|
||||||
"afterColon": true
|
|
||||||
}],
|
|
||||||
"new-cap": [1, {"newIsCap": true, "capIsNew": true}],
|
|
||||||
"no-alert": [0],
|
"no-alert": [0],
|
||||||
"no-eval": [1],
|
"no-eval": [1],
|
||||||
"no-extend-native": [2, {"exceptions": ["Date", "String"]}],
|
"no-extend-native": [2, {"exceptions": ["Date", "String"]}],
|
||||||
|
@ -22,18 +16,9 @@
|
||||||
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
|
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
|
||||||
"no-script-url": [1],
|
"no-script-url": [1],
|
||||||
"no-shadow": [2, {"hoist": "functions"}],
|
"no-shadow": [2, {"hoist": "functions"}],
|
||||||
"quotes": [
|
"quotes": [0, "single"],
|
||||||
1,
|
"linebreak-style": [2, "unix"],
|
||||||
"single"
|
"semi": [2, "always"],
|
||||||
],
|
|
||||||
"linebreak-style": [
|
|
||||||
2,
|
|
||||||
"unix"
|
|
||||||
],
|
|
||||||
"semi": [
|
|
||||||
2,
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"space-before-blocks": [2, "always"],
|
"space-before-blocks": [2, "always"],
|
||||||
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
||||||
"space-infix-ops": [2, {"int32Hint": false}],
|
"space-infix-ops": [2, {"int32Hint": false}],
|
||||||
|
|
Loading…
Reference in New Issue