Delete disableNoUnusedVariableRule
This rule is not supported and had no effect
This commit is contained in:
Родитель
75e3bc0d90
Коммит
1ca2aeb016
|
@ -32,7 +32,6 @@ See [editor support](#editor-support) for more detailed setup instructions.
|
|||
* `jsEnable` - Enable/disable tslint for `.js` files, default is `false`.
|
||||
* `ignoreDefinitionFiles` - Control if TypeScript definition files should be ignored. Default is `true`
|
||||
* `alwaysShowRuleFailuresAsWarnings` - Always show rule failures as warnings, ignoring the severity configuration in the tslint.json configuration.
|
||||
* `disableNoUnusedVariableRule` - Disable `no-unused-variable` rule.
|
||||
* `suppressWhileTypeErrorsPresent` - Suppress tslint errors from being reported while other errors are present.
|
||||
|
||||
Here is a configuration sample:
|
||||
|
@ -46,7 +45,6 @@ Here is a configuration sample:
|
|||
"alwaysShowRuleFailuresAsWarnings": false,
|
||||
"ignoreDefinitionFiles": true,
|
||||
"configFile": "../tslint.json",
|
||||
"disableNoUnusedVariableRule": false,
|
||||
"suppressWhileTypeErrorsPresent": false,
|
||||
"mockTypeScriptVersion": false
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"alwaysShowRuleFailuresAsWarnings": false,
|
||||
"ignoreDefinitionFiles": true
|
||||
//"configFile": "../tslint.json",
|
||||
//"disableNoUnusedVariableRule": false
|
||||
}
|
||||
],
|
||||
"module": "commonjs",
|
||||
|
|
|
@ -9,7 +9,6 @@ export interface Settings {
|
|||
readonly alwaysShowRuleFailuresAsWarnings?: boolean;
|
||||
readonly ignoreDefinitionFiles?: boolean;
|
||||
readonly configFile?: string;
|
||||
readonly disableNoUnusedVariableRule?: boolean; // support to enable/disable the workaround for https://github.com/Microsoft/TypeScript/issues/15344
|
||||
readonly suppressWhileTypeErrorsPresent?: boolean;
|
||||
readonly jsEnable?: boolean;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"alwaysShowRuleFailuresAsWarnings": false,
|
||||
"ignoreDefinitionFiles": true
|
||||
//"configFile": "../tslint.json",
|
||||
//"disableNoUnusedVariableRule": false
|
||||
}
|
||||
],
|
||||
"module": "commonjs",
|
||||
|
|
Загрузка…
Ссылка в новой задаче