lint: warn non-null-assertion to reduce unexpected behaviour

This commit is contained in:
syuilo 2021-11-18 20:12:50 +09:00 committed by GitHub
parent dc512e3fe8
commit a86a64e701

View File

@ -63,7 +63,7 @@ module.exports = {
'@typescript-eslint/no-var-requires': ['warn'],
'@typescript-eslint/no-inferrable-types': ['warn'],
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],
'@typescript-eslint/no-non-null-assertion': ['warn'],
'@typescript-eslint/no-misused-promises': ['error', {
'checksVoidReturn': false,
}],