Skip to content

Commit 47f6310

Browse files
committed
fix(typescript): Turn off @typescript-eslint/no-non-null-assertion rule
The world is so imperfect and this rule is too strict for him :(
1 parent 485636f commit 47f6310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configurations/typescript/rules/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ module.exports = {
395395

396396
// Disallows non-null assertions using the `!` postfix operator
397397
// https://typescript-eslint.io/rules/no-non-null-assertion
398-
'@typescript-eslint/no-non-null-assertion': 'error',
398+
'@typescript-eslint/no-non-null-assertion': 'off',
399399

400400
// Disallow variable re-declaration
401401
// https://typescript-eslint.io/rules/no-redeclare

0 commit comments

Comments
 (0)