Alphabetized ESLint rules.
This commit is contained in:
parent
e46f700e39
commit
95289e1029
10
.eslintrc
10
.eslintrc
|
@ -2,24 +2,24 @@
|
|||
"rules": {
|
||||
"camelcase": ["off", {"properties": "always"}],
|
||||
"comma-spacing": ["error", {"before": false, "after": true}],
|
||||
"dot-notation": ["error", {"allowKeywords": true}],
|
||||
"curly": ["error", "all"],
|
||||
"dot-notation": ["error", {"allowKeywords": true}],
|
||||
"indent": ["error", 4],
|
||||
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"new-cap": ["off", {"newIsCap": true, "capIsNew": true}],
|
||||
"no-alert": ["off"],
|
||||
"no-eval": ["error"],
|
||||
"no-extend-native": ["error", {"exceptions": ["Date", "String"]}],
|
||||
"no-multi-spaces": ["error"],
|
||||
"no-octal-escape": ["error"],
|
||||
"no-underscore-dangle": ["error"],
|
||||
"no-unused-vars": ["error", {"vars": "local", "args": "none"}],
|
||||
"no-script-url": ["error"],
|
||||
"no-shadow": ["error", {"hoist": "functions"}],
|
||||
"no-underscore-dangle": ["error"],
|
||||
"no-unused-vars": ["error", {"vars": "local", "args": "none"}],
|
||||
"no-var": ["error"],
|
||||
"quotes": ["off", "single"],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"prefer-const": ["error"],
|
||||
"quotes": ["off", "single"],
|
||||
"semi": ["error", "always"],
|
||||
"space-before-blocks": ["error", "always"],
|
||||
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never"}],
|
||||
|
|
Loading…
Reference in New Issue