diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-10 19:21:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 00:21:14 +0000 |
commit | e9dde826df738c4094709804d72de4991b377a8a (patch) | |
tree | 22e20851ea92868e29e0afe70e745fcc306661b1 /.eslintrc.json | |
parent | a6c57cc4d7ffeff16320e1d27280ac752fb80e21 (diff) |
Change no-console to error, only for ext files (#352)
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 9f1c3255..f1c995a0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -61,7 +61,6 @@ "no-case-declarations": "error", "no-const-assign": "error", "no-constant-condition": "off", - "no-console": "warn", "no-global-assign": "error", "no-param-reassign": "off", "no-prototype-builtins": "error", @@ -561,6 +560,14 @@ }, { "files": [ + "ext/**/*.js" + ], + "rules": { + "no-console": "error" + } + }, + { + "files": [ "ext/js/core.js", "ext/js/core/extension-error.js", "ext/js/**/sandbox/**/*.js" |