Skip to content

Commit 69c755d

Browse files
authored
Revert
1 parent 97bf961 commit 69c755d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/eslintRunner.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ func RunEslint(repositoryToAnalyseDirectory string, eslintInstallationDirectory
1919
}
2020
if outputFile != "" {
2121
//When writing to file, we write is SARIF
22-
// Add --max-warnings -1 to include files with no issues in output
23-
cmd.Args = append(cmd.Args, "-f", "@microsoft/eslint-formatter-sarif", "--max-warnings", "-1", "-o", outputFile)
22+
cmd.Args = append(cmd.Args, "-f", "@microsoft/eslint-formatter-sarif", "-o", outputFile)
2423
}
2524
if len(pathsToCheck) > 0 {
2625
cmd.Args = append(cmd.Args, pathsToCheck...)

0 commit comments

Comments
 (0)