diff --git a/.eslintrc.js b/.eslintrc.js index 0395226b..86bcb0b7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -288,8 +288,11 @@ module.exports = { // Conflicts with Cypress `should` 'mocha-cleanup/invalid-assertions': 0, - // Might see about working around, but convenient - 'mocha-cleanup/no-expressions-in-assertions': 0, + // Might see about working around to avoid the option limitation, + // but convenient + 'mocha-cleanup/no-expressions-in-assertions': ['error', { + replacementsOnly: true + }], // Too oppressive when planning to extend a section 'mocha/no-hooks-for-single-case': 0, diff --git a/package-lock.json b/package-lock.json index 82bbc2ed..69c305bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4730,8 +4730,8 @@ } }, "eslint-plugin-mocha-cleanup": { - "version": "git+https://github.com/brettz9/eslint-plugin-mocha-cleanup.git#56eea0ae5cb7d2d4b8c19117a162aa5c3b888279", - "from": "git+https://github.com/brettz9/eslint-plugin-mocha-cleanup.git#coverage", + "version": "git+https://github.com/brettz9/eslint-plugin-mocha-cleanup.git#9adea3da5eec23fbc90cff547be5e6ff93d81dd4", + "from": "git+https://github.com/brettz9/eslint-plugin-mocha-cleanup.git", "dev": true, "requires": { "requireindex": "~1.2.0" diff --git a/package.json b/package.json index 762a92a5..c9e10ea9 100644 --- a/package.json +++ b/package.json @@ -170,7 +170,7 @@ "eslint-plugin-jsdoc": "^21.0.0", "eslint-plugin-markdown": "^1.0.1", "eslint-plugin-mocha": "^6.3.0", - "eslint-plugin-mocha-cleanup": "https://github.com/brettz9/eslint-plugin-mocha-cleanup#coverage", + "eslint-plugin-mocha-cleanup": "https://github.com/brettz9/eslint-plugin-mocha-cleanup", "eslint-plugin-no-unsanitized": "^3.0.2", "eslint-plugin-no-use-extend-native": "^0.4.1", "eslint-plugin-node": "^11.0.0",