mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-13 10:20:56 +01: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