aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runner/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner/.eslintrc.json')
-rw-r--r--tests/runner/.eslintrc.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/runner/.eslintrc.json b/tests/runner/.eslintrc.json
new file mode 100644
index 000000000..9dc38dbd7
--- /dev/null
+++ b/tests/runner/.eslintrc.json
@@ -0,0 +1,41 @@
+{
+ "root": true,
+
+ "extends": "jquery",
+
+ "overrides": [
+ {
+ "files": ["**/*"],
+ "env": {
+ "node": true
+ },
+ "globals": {
+ "fetch": false,
+ "Promise": false,
+ "require": false
+ },
+ "parserOptions": {
+ "ecmaVersion": 2022,
+ "sourceType": "module"
+ }
+ },
+ {
+ "files": ["./listeners.js"],
+ "env": {
+ "browser": true,
+ "node": false
+ },
+ "globals": {
+ "QUnit": false,
+ "Symbol": false
+ },
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
+ "rules": {
+ "strict": ["error", "function"]
+ }
+ }
+ ]
+}