Skip to content

Commit bc2bc05

Browse files
committed
relax mocha rules
1 parent c4da213 commit bc2bc05

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/rotten-berries-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tpluscode/eslint-config": patch
3+
---
4+
5+
Relax some mocha rules

js.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ module.exports = {
5757
'unused-imports/no-unused-vars': [
5858
'warn',
5959
{ vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' }
60-
]
60+
],
61+
'mocha/no-sibling-hooks': 'off',
62+
'mocha/no-setup-in-describe': 'warn',
63+
'mocha/max-top-level-suites': 'warn'
6164
},
6265
overrides: [
6366
{

0 commit comments

Comments
 (0)