Make unused variable rule a warning, error on warnings for CI (#58059)

This commit is contained in:
Jake Bailey authored and GitHub committed 2024-04-03 10:29:27 -07:00
1 parent 5fe2ff2288
commit 4386501285
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@
}
],
"@typescript-eslint/no-unused-vars": [
"error",
"warn",
{
// Ignore: (solely underscores | starting with exactly one underscore)
"argsIgnorePattern": "^(_+$|_[^_])",
+2
View File
@@ -538,6 +538,8 @@ export const lint = task({
"--format",
formatter,
"--report-unused-disable-directives",
"--max-warnings",
"0",
];
if (cmdLineOptions.fix) {