Skip to content

Commit d400c17

Browse files
committed
feat(@typescript-eslint): enable no-non-null-asserted-nullish-coalescing
Generally we don't like using the non-null assertion operator, but if it was used this will ensure it's actually needed (in some places at least)
1 parent eab50a1 commit d400c17

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

@typescript-eslint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const config = {
7777
allowDefinitionFiles: true
7878
}
7979
],
80+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
8081
'@typescript-eslint/no-parameter-properties': 'error',
8182
'@typescript-eslint/no-redeclare': 'error',
8283
'@typescript-eslint/no-require-imports': 'error',

0 commit comments

Comments
 (0)