mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
lint: warn non-null-assertion to reduce unexpected behaviour
This commit is contained in:
parent
dc512e3fe8
commit
a86a64e701
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module.exports = {
|
||||||
'@typescript-eslint/no-var-requires': ['warn'],
|
'@typescript-eslint/no-var-requires': ['warn'],
|
||||||
'@typescript-eslint/no-inferrable-types': ['warn'],
|
'@typescript-eslint/no-inferrable-types': ['warn'],
|
||||||
'@typescript-eslint/no-empty-function': ['off'],
|
'@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', {
|
'@typescript-eslint/no-misused-promises': ['error', {
|
||||||
'checksVoidReturn': false,
|
'checksVoidReturn': false,
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Reference in a new issue