mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 01:56:16 +00:00
chore: optimize eslint
This commit is contained in:
parent
fd97ca845e
commit
53e49a2e9e
15
.eslintrc
15
.eslintrc
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user