mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 19:26:44 -06:00
Update .eslintrc.js
This commit is contained in:
parent
2bf63b158c
commit
4ff49b0a3f
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ module.exports = {
|
||||||
'no-param-reassign': ['warn'],
|
'no-param-reassign': ['warn'],
|
||||||
'no-constant-condition': ['warn'],
|
'no-constant-condition': ['warn'],
|
||||||
'no-empty-pattern': ['warn'],
|
'no-empty-pattern': ['warn'],
|
||||||
|
'@typescript-eslint/no-unnecessary-condition': ['error'],
|
||||||
'@typescript-eslint/no-inferrable-types': ['warn'],
|
'@typescript-eslint/no-inferrable-types': ['warn'],
|
||||||
'@typescript-eslint/no-non-null-assertion': ['warn'],
|
'@typescript-eslint/no-non-null-assertion': ['warn'],
|
||||||
'@typescript-eslint/explicit-function-return-type': ['warn'],
|
'@typescript-eslint/explicit-function-return-type': ['warn'],
|
||||||
|
|
Loading…
Reference in a new issue