Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3201f78

Browse files
Fix prefer-nullish-coalescing too
1 parent 64958d3 commit 3201f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/src/rules/prefer-nullish-coalescing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default util.createRule<Options, MessageIds>({
3232
type: 'suggestion',
3333
docs: {
3434
description:
35-
'Enforce using the nullish coalescing operator instead of logical chaining',
35+
'Enforce using the nullish coalescing operator instead of logical assignments or chaining',
3636
recommended: 'stylistic',
3737
requiresTypeChecking: true,
3838
},

0 commit comments

Comments
 (0)