Skip to content

SCP-138 Adds policy report: copyleft #96

SCP-138 Adds policy report: copyleft

SCP-138 Adds policy report: copyleft #96

Triggered via pull request February 26, 2024 15:18
Status Failure
Total duration 4m 12s
Artifacts

linter.yml

on: pull_request
Lint Codebase
4m 1s
Lint Codebase
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 10 warnings
Lint Codebase: __tests__/result-service.test.ts#L69
A `require()` style import is forbidden
Lint Codebase: __tests__/result-service.test.ts#L69
Require statement not part of import statement
Lint Codebase: src/policies/copyleft-policy-check.ts#L5
Unexpected use of file extension "util" for "src/utils/markdown.util"
Lint Codebase: src/policies/copyleft-policy-check.ts#L5
Unable to resolve path to module 'src/utils/markdown.util'
Lint Codebase: src/policies/copyleft-policy-check.ts#L33
Unexpected string concatenation of literals
Lint Codebase: src/policies/copyleft-policy-check.ts#L33
Unexpected string concatenation of literals
Lint Codebase: src/policies/copyleft-policy-check.ts#L34
Unexpected string concatenation
Lint Codebase: src/policies/copyleft-policy-check.ts#L34
Unexpected string concatenation of literals
Lint Codebase: .github/linters/tsconfig.json#L1
File ignored by default.
Lint Codebase: .prettierrc.json#L1
File ignored by default.
Lint Codebase: __tests__/main.test.ts#L19
'setFailedMock' is assigned a value but never used
Lint Codebase: __tests__/main.test.ts#L20
'setOutputMock' is assigned a value but never used
Lint Codebase: __tests__/result-service.test.ts#L66
Test has no assertions
Lint Codebase: src/main.ts#L2
'CopyleftPolicyCheck' is defined but never used
Lint Codebase: src/policies/copyleft-policy-check.ts#L4
'getLicenses' is defined but never used
Lint Codebase: src/policies/policy-check.ts#L10
'CONCLUSION' is already declared in the upper scope on line 10 column 13
Lint Codebase: src/policies/policy-check.ts#L34
Unexpected any. Specify a different type
Lint Codebase: src/policies/policy-check.ts#L50
'scannerResults' is defined but never used