- 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,
|
||||
|
||||
Reference in New Issue
Block a user