mirror of https://github.com/zulip/zulip.git
eslint: Allow unused variables with _ prefix in typescript.
This commit is contained in:
parent
be48eb165d
commit
676acd4ed1
|
@ -425,6 +425,7 @@
|
||||||
"func-call-spacing": 0,
|
"func-call-spacing": 0,
|
||||||
"no-magic-numbers": 0,
|
"no-magic-numbers": 0,
|
||||||
"semi": 0,
|
"semi": 0,
|
||||||
|
"no-unused-vars": 0,
|
||||||
|
|
||||||
"@typescript-eslint/adjacent-overload-signatures": 2,
|
"@typescript-eslint/adjacent-overload-signatures": 2,
|
||||||
"@typescript-eslint/array-type": 2,
|
"@typescript-eslint/array-type": 2,
|
||||||
|
@ -461,7 +462,7 @@
|
||||||
"@typescript-eslint/no-type-alias": 0,
|
"@typescript-eslint/no-type-alias": 0,
|
||||||
"@typescript-eslint/no-unnecessary-qualifier": 2,
|
"@typescript-eslint/no-unnecessary-qualifier": 2,
|
||||||
"@typescript-eslint/no-unnecessary-type-assertion": 2,
|
"@typescript-eslint/no-unnecessary-type-assertion": 2,
|
||||||
"@typescript-eslint/no-unused-vars": 2,
|
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_" } ],
|
||||||
"@typescript-eslint/no-use-before-define": 2,
|
"@typescript-eslint/no-use-before-define": 2,
|
||||||
"@typescript-eslint/no-useless-constructor": 2,
|
"@typescript-eslint/no-useless-constructor": 2,
|
||||||
"@typescript-eslint/no-var-requires": 0,
|
"@typescript-eslint/no-var-requires": 0,
|
||||||
|
|
Loading…
Reference in New Issue