Enable tseslint strict rules

This commit is contained in:
Henry Mercer
2026-02-23 18:49:38 +00:00
parent 48094d2b6e
commit fba33f686a
15 changed files with 5 additions and 58 deletions
+1 -5
View File
@@ -1130,11 +1130,7 @@ function sanitize(str?: string) {
/**
* An error that occurred due to an invalid SARIF upload request.
*/
export class InvalidSarifUploadError extends Error {
constructor(message: string) {
super(message);
}
}
export class InvalidSarifUploadError extends Error {}
function filterAlertsByDiffRange(logger: Logger, sarif: SarifFile): SarifFile {
const diffRanges = readDiffRangesJsonFile(logger);
+1 -5
View File
@@ -690,11 +690,7 @@ export class HTTPError extends Error {
* An Error class that indicates an error that occurred due to
* a misconfiguration of the action or the CodeQL CLI.
*/
export class ConfigurationError extends Error {
constructor(message: string) {
super(message);
}
}
export class ConfigurationError extends Error {}
export function asHTTPError(arg: any): HTTPError | undefined {
if (