mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Weaken unused expression rule
This commit is contained in:
parent
b6c760fb53
commit
ebbfe69742
1 changed files with 7 additions and 1 deletions
|
@ -161,7 +161,13 @@ module.exports = {
|
|||
"@typescript-eslint/no-unsafe-call": "off",
|
||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||
"@typescript-eslint/no-unsafe-return": "off",
|
||||
"@typescript-eslint/no-unused-expressions": "error",
|
||||
"@typescript-eslint/no-unused-expressions": [
|
||||
"error",
|
||||
{
|
||||
"allowShortCircuit": true,
|
||||
"allowTernary": true
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars-experimental": [
|
||||
"error",
|
||||
|
|
Loading…
Add table
Reference in a new issue