TEST: eslint errors

This commit is contained in:
Andrew Eisenberg
2024-09-10 15:54:46 -07:00
parent 0d0f998f28
commit b3a197b2b9
4 changed files with 15 additions and 5 deletions
+3
View File
@@ -67,6 +67,9 @@ var JobStatus;
JobStatus["FailureStatus"] = "JOB_STATUS_FAILURE";
JobStatus["ConfigErrorStatus"] = "JOB_STATUS_CONFIGURATION_ERROR";
})(JobStatus || (exports.JobStatus = JobStatus = {}));
const unused = 0;
const unused2 = 0;
const unused3 = 0;
function getActionsStatus(error, otherFailureCause) {
if (error || otherFailureCause) {
return error instanceof util_1.ConfigurationError ? "user-error" : "failure";
File diff suppressed because one or more lines are too long
+10 -3
View File
@@ -68,9 +68,16 @@ export enum JobStatus {
ConfigErrorStatus = "JOB_STATUS_CONFIGURATION_ERROR",
}
export interface StatusReportBase {
/** Name of the action being executed. */
action_name: ActionName;
const unused = 0;
const unused2 = 0;
const unused3 = 0;
export interface StatusReportBase {
/** Name of the action being executed.
*
*
*/
action_name: ActionName
/** Version of the action being executed, as a commit oid. */
action_oid: string;
/** Version of the action being executed, as a ref. */
+1 -1
View File
@@ -33,7 +33,7 @@
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Additional Checks */
"noUnusedLocals": true, /* Report errors on unused locals. */
// "noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */