From d2587b4e1713cb406e5f17cdeed6be6c2f1d5b04 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Fri, 27 Nov 2020 16:30:36 +0700 Subject: [PATCH] update `eslint-plugin-qunit` --- .eslintrc.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 933d1ef9da45..80990a68af65 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -484,6 +484,8 @@ const qunit = { 'qunit/assert-args': 'error', // forbid the use of assert.equal 'qunit/no-assert-equal': 'error', + // require use of boolean assertions + 'qunit/no-assert-equal-boolean': 'error', // forbid binary logical expressions in assert arguments 'qunit/no-assert-logical-expression': 'error', // forbid async calls in loops diff --git a/package.json b/package.json index acc8d39923bf..09ccef157906 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-optimize-regex": "^1.2.0", - "eslint-plugin-qunit": "^5.0.0", + "eslint-plugin-qunit": "^5.1.0", "eslint-plugin-sonarjs": "~0.5.0", "eslint-plugin-unicorn": "^23.0.0", "grunt": "^1.3.0",