Add @typescript-eslint/array-type configuration

This commit is contained in:
Simon Warta 2020-07-07 16:57:35 +02:00
parent 9177b3f340
commit 9646849935

View File

@ -27,10 +27,11 @@ module.exports = {
"no-shadow": "warn", "no-shadow": "warn",
"no-unused-vars": "off", // disabled in favour of @typescript-eslint/no-unused-vars, see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md "no-unused-vars": "off", // disabled in favour of @typescript-eslint/no-unused-vars, see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md
"prefer-const": "warn", "prefer-const": "warn",
"radix": ["warn", "always"], radix: ["warn", "always"],
"spaced-comment": ["warn", "always", { line: { markers: ["/ <reference"] } }], "spaced-comment": ["warn", "always", { line: { markers: ["/ <reference"] } }],
"import/no-cycle": "warn", "import/no-cycle": "warn",
"simple-import-sort/sort": "warn", "simple-import-sort/sort": "warn",
"@typescript-eslint/array-type": ["warn", { default: "array-simple" }],
"@typescript-eslint/await-thenable": "warn", "@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/explicit-function-return-type": ["warn", { allowExpressions: true }], "@typescript-eslint/explicit-function-return-type": ["warn", { allowExpressions: true }],
"@typescript-eslint/no-dynamic-delete": "warn", "@typescript-eslint/no-dynamic-delete": "warn",