mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Add @typescript-eslint/array-type configuration
This commit is contained in:
parent
9177b3f340
commit
9646849935
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user