meta: add array-type rule to eslint

This forces array typings to be more consistent and readable.
This commit is contained in:
Xymorot 2020-02-09 19:55:37 +01:00
parent ce453380cb
commit b3c31a4188
1 changed files with 2 additions and 1 deletions

View File

@ -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" }]
}
},
{