summaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-14 12:44:07 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-16 16:35:57 +0100
commit6013f2c2ad1c3b8abb03e37d52103d5e7eb57aeb (patch)
tree443cbd112dc62395140e597bf82918a0dcf0e167 /.eslintrc.json
parentf835ac185a2c53dcabd2dff26a2b198aca72e34c (diff)
.eslintrc.json: Set up env for QScript controller mappings
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json25
1 files changed, 6 insertions, 19 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index b0e6fc9eeb..3d9ae2ecf2 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,19 +1,7 @@
{
- "env": {
- "es6": true,
- "node": true,
- "browser": true,
- "jquery": true,
- "jasmine": true,
- "mocha": true,
- "qunit": true
- },
"extends": "eslint:recommended",
"parserOptions": {
- "ecmaFeatures": {
- "jsx": true,
- "globalReturn": true
- },
+ "ecmaVersion": 5,
"sourceType": "script"
},
"rules": {
@@ -37,11 +25,10 @@
"no-async-promise-executor": "off"
},
"globals": {
- "ActiveXObject": true,
- "XDomainRequest": true,
- "ScriptEngine": true,
- "WSH": true,
- "WScript": true,
- "DocumentTouch": true
+ "components": "readonly",
+ "engine": "readonly",
+ "midi": "readonly",
+ "print": "readonly",
+ "script": "readonly"
}
}