chore: optimize eslint

This commit is contained in:
Rain 2023-09-28 17:51:45 +08:00
parent fd97ca845e
commit 53e49a2e9e

View File

@ -55,7 +55,16 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-var-requires": "off",
"promise/always-return": "off",
"@typescript-eslint/no-floating-promises": "error"
}
"promise/always-return": "off"
},
"overrides": [
{
"files": [
"**/e2e/**/*.{ts,js,tsx,jsx}"
],
"rules": {
"@typescript-eslint/no-floating-promises": "error"
}
}
]
}