chore: optimize eslint
This commit is contained in:
parent
fd97ca845e
commit
53e49a2e9e
11
.eslintrc
11
.eslintrc
@ -55,7 +55,16 @@
|
|||||||
"@typescript-eslint/no-explicit-any": "off",
|
"@typescript-eslint/no-explicit-any": "off",
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
"@typescript-eslint/no-var-requires": "off",
|
"@typescript-eslint/no-var-requires": "off",
|
||||||
"promise/always-return": "off",
|
"promise/always-return": "off"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"**/e2e/**/*.{ts,js,tsx,jsx}"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
"@typescript-eslint/no-floating-promises": "error"
|
"@typescript-eslint/no-floating-promises": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user