Delete disableNoUnusedVariableRule

This rule is not supported and had no effect
This commit is contained in:
Matt Bierner 2018-11-13 17:04:41 -08:00
Родитель 75e3bc0d90
Коммит 1ca2aeb016
4 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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",