summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json9
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"