build: Introduce eslint-plugin-qunit and enforce
[lhc/web/wiklou.git] / tests / qunit / .eslintrc.json
index b3a46f4..d3aea5e 100644 (file)
@@ -1,5 +1,9 @@
 {
-       "extends": "../../.eslintrc.json",
+       "extends": [
+               "../../.eslintrc.json",
+               "plugin:qunit/recommended",
+               "plugin:qunit/two"
+       ],
        "env": {
                "qunit": true
        },
@@ -9,6 +13,9 @@
        "rules": {
                "operator-linebreak": 0,
                "quote-props": [ "error", "as-needed" ],
-               "valid-jsdoc": 0
-       }
+               "valid-jsdoc": 0,
+               "qunit/require-expect": 0,
+               "qunit/resolve-async": 0
+       },
+       "plugins": [ "qunit" ]
 }