diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/newtab/.eslintrc.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/newtab/.eslintrc.js')
-rw-r--r-- | browser/components/newtab/.eslintrc.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/browser/components/newtab/.eslintrc.js b/browser/components/newtab/.eslintrc.js index 5fc7a4dcff..f541cdd988 100644 --- a/browser/components/newtab/.eslintrc.js +++ b/browser/components/newtab/.eslintrc.js @@ -58,7 +58,7 @@ module.exports = { { // Use a configuration that's appropriate for modules, workers and // non-production files. - files: ["*.jsm", "lib/cache.worker.js", "test/**"], + files: ["lib/cache.worker.js", "test/**"], rules: { "no-implicit-globals": "off", }, @@ -123,15 +123,12 @@ module.exports = { "consistent-this": ["error", "use-bind"], eqeqeq: "error", "func-name-matching": "error", - "getter-return": "error", "guard-for-in": "error", - "max-depth": ["error", 4], "max-nested-callbacks": ["error", 4], "max-params": ["error", 6], "max-statements": ["error", 50], "new-cap": ["error", { newIsCap: true, capIsNew: false }], "no-alert": "error", - "no-console": ["error", { allow: ["error"] }], "no-div-regex": "error", "no-duplicate-imports": "error", "no-eq-null": "error", |