mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
eslint-related fixes; move a few things from global context to App
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user