summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.json10
-rw-r--r--res/controllers/.eslintrc.json10
-rw-r--r--script/.eslintrc.json7
3 files changed, 20 insertions, 7 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index f1eb2025e8..c9d80f9738 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -17,12 +17,8 @@
"no-async-promise-executor": "off"
},
"globals": {
- "_": "readonly",
- "color": "readonly",
- "components": "readonly",
- "engine": "readonly",
- "midi": "readonly",
- "print": "readonly",
- "script": "readonly"
+ "console": "writable",
+ "svg": "writable",
+ "print": "readonly"
}
}
diff --git a/res/controllers/.eslintrc.json b/res/controllers/.eslintrc.json
new file mode 100644
index 0000000000..a5f60376e3
--- /dev/null
+++ b/res/controllers/.eslintrc.json
@@ -0,0 +1,10 @@
+{
+ "globals": {
+ "_": "readonly",
+ "color": "readonly",
+ "components": "readonly",
+ "engine": "readonly",
+ "midi": "readonly",
+ "script": "readonly"
+ }
+}
diff --git a/script/.eslintrc.json b/script/.eslintrc.json
new file mode 100644
index 0000000000..16bdb96c04
--- /dev/null
+++ b/script/.eslintrc.json
@@ -0,0 +1,7 @@
+{
+ "globals": {
+ "__extension__": "readonly",
+ "__setupPackage__": "readonly",
+ "__postInit__": "readonly"
+ }
+}