chore(lint): alphabetize lint rules (#946)

No change to the rules, this just reorders the eslintrc file so there's
a sane way to add new rules.

Test: npm run lint
This commit is contained in:
Nate Fischer 2019-06-20 22:52:47 -07:00 committed by GitHub
parent 6d83d3509b
commit f7dbc61d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 22 deletions

View File

@ -5,25 +5,25 @@
"extends": "airbnb-base/legacy",
"rules": {
"comma-dangle": ["error", "always-multiline"],
"global-require": "off",
"vars-on-top": "off",
"spaced-comment": ["error", "always", { "markers": ["@", "@include"], "exceptions": ["@", "@commands"] }],
"no-param-reassign": "off",
"no-console": "off",
"consistent-return": "off",
"curly": ["error", "multi-line"],
"func-names": "off",
"quote-props": "off",
"no-underscore-dangle": "off",
"global-require": "off",
"max-len": "off",
"no-use-before-define": "off",
"no-empty": "off",
"no-else-return": "off",
"no-throw-literal": "off",
"newline-per-chained-call": "off",
"consistent-return": "off",
"no-console": "off",
"no-else-return": "off",
"no-empty": "off",
"no-mixed-operators": "off",
"no-prototype-builtins": "off",
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 0, "maxEOF": 0 } ],
"no-param-reassign": "off",
"no-prototype-builtins": "off",
"no-throw-literal": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"quote-props": "off",
"spaced-comment": ["error", "always", { "markers": ["@", "@include"], "exceptions": ["@", "@commands"] }],
"vars-on-top": "off",
"new-cap": ["error", {
"capIsNewExceptions": [
"ShellString"

View File

@ -4,19 +4,19 @@
},
"extends": "airbnb-base",
"rules": {
"import/no-mutable-exports": "off",
"global-require": "off",
"vars-on-top": "off",
"spaced-comment": ["error", "always", { "markers": ["@", "@include"], "exceptions": ["@"] }],
"no-param-reassign": "off",
"no-console": "off",
"curly": "off",
"global-require": "off",
"import/no-mutable-exports": "off",
"max-len": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-var": "error",
"prefer-arrow-callback": "off",
"prefer-const": "error",
"prefer-template": "off",
"prefer-arrow-callback": "off",
"no-underscore-dangle": "off",
"max-len": "off",
"spaced-comment": ["error", "always", { "markers": ["@", "@include"], "exceptions": ["@"] }],
"vars-on-top": "off",
"new-cap": ["error", {
"capIsNewExceptions": [
"ShellString"