Skip to content

Commit

Permalink
Replace deprecated eslint rule: newline-after-var
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 5, 2019
1 parent ff314f1 commit 9e09eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Expand Up @@ -52,6 +52,9 @@ module.exports = {
"semi": ["error", "never"],
"quotes": ["error", "single"],
"security/detect-object-injection": "off",
'newline-after-var': 'off', // deprecated rule, enabled by airbnb-base/whitespace
'padding-line-between-statements': ['error', { blankLine: "always", prev: ["const", "let", "var"], next: "*"},
{ blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"]}],
"prefer-const": "error",
"no-var": "error",
"indent": ["error", 2, {
Expand Down

0 comments on commit 9e09eef

Please sign in to comment.