- Linting: Reenable mocha-cleanup/no-expressions-in-assertions with new replacementsOnly rule
- npm: Point to `master` of `eslint-plugin-mocha-cleanup` fork (until release)
This commit is contained in:
@@ -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,
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user