mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Migrate rule no-unnecessary-type-assertion from tslint to eslint
This commit is contained in:
parent
984df700b2
commit
10335dc662
@ -34,6 +34,7 @@ module.exports = {
|
||||
"@typescript-eslint/no-empty-interface": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
||||
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
|
||||
"@typescript-eslint/no-use-before-define": "warn",
|
||||
"@typescript-eslint/prefer-readonly": "warn",
|
||||
},
|
||||
|
@ -19,7 +19,7 @@
|
||||
"no-implicit-dependencies": false,
|
||||
"no-parameter-reassignment": false,
|
||||
"no-unnecessary-class": [true, "allow-static-only"],
|
||||
"no-unnecessary-type-assertion": true,
|
||||
"no-unnecessary-type-assertion": false,
|
||||
"no-var-keyword": true,
|
||||
"object-literal-shorthand": [true, "never"],
|
||||
"object-literal-sort-keys": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user