"warn" action for socket npm
#211
Annotations
8 errors and 1 warning
lib/utils/issue-rules.cjs#L20
Type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }' has no matching index signature for type 'string'.
|
lib/utils/issue-rules.cjs#L135
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
test/issue-rule-ux.test.js#L34
Type '{ organization: { deferTo: string; issueRules: { fromDeferString: { action: string; }; frumUndefinedAction: {}; }; }; repository: { issueRules: { fromMiddleConfig: { action: string; }; }; }; }' is not assignable to type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
test/issue-rule-ux.test.js#L154
Type '{ organization: { issueRules: { orgTrue: true; orgFalse: false; }; }; }' is not assignable to type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
test/issue-rule-ux.test.js#L216
Type '{ start: { deferTo: null; issueRules: { warn_then_error: { action: string; }; ignore_then_missing: { action: string; }; ignore_then_defer: { action: string; }; }; }; }' is not assignable to type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
test/issue-rule-ux.test.js#L235
Type '{ start: { deferTo: null; issueRules: { warn_then_error: { action: string; }; ignore_then_defer: { action: string; }; }; }; }' is not assignable to type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
test/issue-rule-ux.test.js#L293
Type '{ organization: { issueRules: { willWarn: { action: string; }; }; }; }' is not assignable to type '{ deferTo?: string | null; issueRules?: { [key: string]: { action?: "error" | "warn" | "ignore" | "defer"; } | undefined; }; }'.
|
|
|
The logs for this run have expired and are no longer available.
Loading