Browse Source

Enable the `no-lone-blocks` ESLint rule

http://eslint.org/docs/rules/no-lone-blocks

Note that we currently have no code that violates this rule in the source files, but it seems that the built files are possibly affected (see issue 7957).
Jonas Jenwald 8 years ago
parent
commit
31684e6918
  1. 1
      .eslintrc

1
.eslintrc

@ -53,6 +53,7 @@ @@ -53,6 +53,7 @@
"no-fallthrough": "error",
"no-global-assign": "error",
"no-implied-eval": "error",
"no-lone-blocks": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-new-func": "error",

Loading…
Cancel
Save