mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Make unused variable rule a warning, error on warnings for CI (#58059)
This commit is contained in:
parent
5fe2ff2288
commit
4386501285
@ -110,7 +110,7 @@
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
// Ignore: (solely underscores | starting with exactly one underscore)
|
||||
"argsIgnorePattern": "^(_+$|_[^_])",
|
||||
|
||||
@ -538,6 +538,8 @@ export const lint = task({
|
||||
"--format",
|
||||
formatter,
|
||||
"--report-unused-disable-directives",
|
||||
"--max-warnings",
|
||||
"0",
|
||||
];
|
||||
|
||||
if (cmdLineOptions.fix) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user