From 470f6c71a18f7412f45e723b2f730c332ba45178 Mon Sep 17 00:00:00 2001 From: Sergey Astapov Date: Sun, 20 Oct 2024 23:34:47 -0400 Subject: [PATCH] Bump eslint-plugin-qunit to v8 (#686) --- .eslintrc.js | 3 +++ package-lock.json | 25 ++++--------------------- package.json | 2 +- 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index ad091517..6068170e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -53,6 +53,9 @@ module.exports = { // test files files: ['tests/**/*-test.{js,ts}'], extends: ['plugin:qunit/recommended'], + rules: { + 'qunit/require-expect': ['error', 'except-simple'], + }, }, ], }; diff --git a/package-lock.json b/package-lock.json index d18b3266..299d50f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8751,7 +8751,7 @@ "jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, "requires": { "graceful-fs": "^4.1.6" @@ -14464,30 +14464,13 @@ } }, "eslint-plugin-qunit": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-qunit/-/eslint-plugin-qunit-7.3.4.tgz", - "integrity": "sha512-EbDM0zJerH9zVdUswMJpcFF7wrrpvsGuYfNexUpa5hZkkdFhaFcX+yD+RSK4Nrauw4psMGlcqeWUMhaVo+Manw==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-qunit/-/eslint-plugin-qunit-8.1.2.tgz", + "integrity": "sha512-2gDQdHlQW8GVXD7YYkO8vbm9Ldc60JeGMuQN5QlD48OeZ8znBvvoHWZZMeXjvoDPReGaLEvyuWrDtrI8bDbcqw==", "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-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true - } } }, "eslint-scope": { diff --git a/package.json b/package.json index d5374873..a0a6fae9 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "eslint-plugin-ember": "^11.5.0", "eslint-plugin-n": "^15.7.0", "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-qunit": "^7.3.4", + "eslint-plugin-qunit": "^8.1.2", "lerna-changelog": "^2.2.0", "loader.js": "^4.7.0", "prettier": "^3.3.3",