aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-21 23:09:29 +0200
committerXhmikosR <[email protected]>2021-09-15 15:44:20 +0300
commit5391ecdfde7f430a123e4512a21f1a754f304827 (patch)
tree3e4feeda0024752dff5bed36cf17d61b774bcc83
parente202996a2bb37c88379a2b4961e764b53dee54f2 (diff)
downloadbootstrap-5391ecdfde7f430a123e4512a21f1a754f304827.tar.xz
bootstrap-5391ecdfde7f430a123e4512a21f1a754f304827.zip
Add eslint-plugin-qunit
-rw-r--r--js/tests/unit/.eslintrc.json3
-rw-r--r--package-lock.json27
-rw-r--r--package.json1
3 files changed, 30 insertions, 1 deletions
diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json
index 06fad565e..3153849cf 100644
--- a/js/tests/unit/.eslintrc.json
+++ b/js/tests/unit/.eslintrc.json
@@ -1,6 +1,7 @@
{
"extends": [
- "../../../.eslintrc.json"
+ "../../../.eslintrc.json",
+ "plugin:qunit/recommended"
],
"parserOptions": {
"ecmaVersion": 5,
diff --git a/package-lock.json b/package-lock.json
index 835c324c3..f8abf26ec 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4171,6 +4171,27 @@
}
}
},
+ "eslint-plugin-qunit": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-qunit/-/eslint-plugin-qunit-6.2.0.tgz",
+ "integrity": "sha512-KvPmkIC2MHpfRxs/r8WUeeGkG6y+3qwSi2AZIBtjcM/YG6Z3k0GxW5Hbu3l7X0TDhljVCeBb9Q5puUkHzl83Mw==",
+ "dev": true,
+ "requires": {
+ "eslint-utils": "^3.0.0",
+ "requireindex": "^1.2.0"
+ },
+ "dependencies": {
+ "eslint-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
+ "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==",
+ "dev": true,
+ "requires": {
+ "eslint-visitor-keys": "^2.0.0"
+ }
+ }
+ }
+ },
"eslint-plugin-unicorn": {
"version": "36.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-36.0.0.tgz",
@@ -9584,6 +9605,12 @@
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
"dev": true
},
+ "requireindex": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/requireindex/-/requireindex-1.2.0.tgz",
+ "integrity": "sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==",
+ "dev": true
+ },
"requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
diff --git a/package.json b/package.json
index cd30403b3..92927996a 100644
--- a/package.json
+++ b/package.json
@@ -108,6 +108,7 @@
"eslint": "^7.32.0",
"eslint-config-xo": "^0.38.0",
"eslint-plugin-import": "^2.24.2",
+ "eslint-plugin-qunit": "^6.2.0",
"eslint-plugin-unicorn": "^36.0.0",
"find-unused-sass-variables": "^3.1.0",
"glob": "^7.1.7",