meta: add array-type rule to eslint
This forces array typings to be more consistent and readable.
This commit is contained in:
parent
ce453380cb
commit
b3c31a4188
|
@ -109,7 +109,8 @@
|
|||
"@typescript-eslint/ban-ts-ignore": "off",
|
||||
"@typescript-eslint/no-use-before-define": "off",
|
||||
"@typescript-eslint/no-misused-promises": ["error", { "checksVoidReturn": false }],
|
||||
"@typescript-eslint/member-ordering": "error"
|
||||
"@typescript-eslint/member-ordering": "error",
|
||||
"@typescript-eslint/array-type": ["error", { "default": "array-simple" }]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue