summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-06-05 07:44:57 +0300
committerAndrew Dolgov <[email protected]>2020-06-05 07:44:57 +0300
commitd01ad09800b67d2c83e2707188c8e5c58991db1e (patch)
tree8f3ab62784ae0f520c49c504720b24f406678ae7 /.eslintrc.js
parent88027d7a3913872c16f42cb9d9d713aa994eb034 (diff)
eslint-related fixes; move a few things from global context to App
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index f44a8b3ed..6d76f6082 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -91,7 +91,7 @@ module.exports = {
"max-statements-per-line": [ "warn", { "max" : 2 } ],
"multiline-comment-style": "off",
"multiline-ternary": "off",
- "new-cap": "error",
+ "new-cap": "warn",
"new-parens": "error",
"newline-after-var": "off",
"newline-before-return": "off",
@@ -150,7 +150,7 @@ module.exports = {
"no-negated-condition": "off",
"no-negated-in-lhs": "error",
"no-nested-ternary": "error",
- "no-new": "error",
+ "no-new": "warn",
"no-new-func": "error",
"no-new-object": "off",
"no-new-require": "error",
@@ -162,7 +162,7 @@ module.exports = {
"no-process-env": "error",
"no-process-exit": "error",
"no-proto": "error",
- "no-prototype-builtins": "error",
+ "no-prototype-builtins": "warn",
"no-restricted-globals": "error",
"no-restricted-imports": "error",
"no-restricted-modules": "error",