mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Disable array type linting
There doesn't seem to be a way of allowing `MyType[]` but disallowing `(string | number)[]` in lieu of `Array<string | number>` so I'm just disabling it completely
This commit is contained in:
parent
65183e52e9
commit
90ee6410ca
1 changed files with 1 additions and 6 deletions
|
@ -39,12 +39,7 @@ module.exports = {
|
|||
"sonarjs/no-duplicate-string": "off",
|
||||
"sonarjs/no-unused-collection": "off", //"error", // There seems to be a bug with this rule - exported collections are assumed unused
|
||||
"@typescript-eslint/adjacent-overload-signatures": "error",
|
||||
"@typescript-eslint/array-type": [
|
||||
"error",
|
||||
{
|
||||
"default": "array-simple"
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/array-type": "off",
|
||||
"@typescript-eslint/await-thenable": "error",
|
||||
"@typescript-eslint/ban-ts-comment": "error",
|
||||
"@typescript-eslint/ban-types": [
|
||||
|
|
Loading…
Add table
Reference in a new issue