Skip to content

Commit 2d32c42

Browse files
committed
fix: relax void rule
1 parent 15813d9 commit 2d32c42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ addRule('neostandard/base', 'no-warning-comments', 'warn')
8181
addRule('neostandard/base', 'max-nested-callbacks', ['error', 4])
8282
addRule('neostandard/base', 'max-depth', ['error', 4])
8383
addRule('neostandard/base', 'require-yield', 'error')
84+
addRule('neostandard/base', 'no-void', ['error', {
85+
allowAsStatement: true
86+
}])
8487

8588
// plugins
8689
addRule('neostandard/base', 'no-only-tests/no-only-tests', 'error')

0 commit comments

Comments
 (0)