Feat/update copyleft policy #187
Annotations
3 errors and 10 warnings
src/policies/copyleft-policy-check.ts#L36
Replace `⏎··private·copyleftLicenses·=·new·Set<string>(["GPL-1.0-only","GPL-2.0-only","GPL-3.0-only","AGPL-3.0-only","Sleepycat","Watcom-1.0","GFDL-1.1-only","GFDL-1.2-only","GFDL-1.3-only","LGPL-2.1-only","LGPL-3.0-only","MPL-1.1","MPL-2.0","EPL-1.0","EPL-2.0","CDDL-1.0","CDDL-1.1","CECILL-2.1","Artistic-1.0","Artistic-2.0","CC-BY-SA-4.0"].map(l=>l.toLowerCase())` with `··private·copyleftLicenses·=·new·Set<string>(⏎····[⏎······'GPL-1.0-only',⏎······'GPL-2.0-only',⏎······'GPL-3.0-only',⏎······'AGPL-3.0-only',⏎······'Sleepycat',⏎······'Watcom-1.0',⏎······'GFDL-1.1-only',⏎······'GFDL-1.2-only',⏎······'GFDL-1.3-only',⏎······'LGPL-2.1-only',⏎······'LGPL-3.0-only',⏎······'MPL-1.1',⏎······'MPL-2.0',⏎······'EPL-1.0',⏎······'EPL-2.0',⏎······'CDDL-1.0',⏎······'CDDL-1.1',⏎······'CECILL-2.1',⏎······'Artistic-1.0',⏎······'Artistic-2.0',⏎······'CC-BY-SA-4.0'⏎····].map(l·=>·l.toLowerCase())⏎··`
|
src/policies/copyleft-policy-check.ts#L48
Replace `license·=>·!!license.copyleft·||·this.copyleftLicenses.has(license.spdxid.trim().toLowerCase())` with `⏎········license·=>·!!license.copyleft·||·this.copyleftLicenses.has(license.spdxid.trim().toLowerCase())⏎······`
|
src/policies/copyleft-policy-check.ts#L49
Delete `⏎`
|
.github/linters/tsconfig.json#L1
File ignored by default.
|
.prettierrc.json#L1
File ignored by default.
|
src/policies/policy-check.ts#L31
'CONCLUSION' is already declared in the upper scope on line 31 column 13
|
src/policies/policy-check.ts#L42
'STATUS' is already declared in the upper scope on line 42 column 13
|
src/policies/policy-check.ts#L56
Unexpected any. Specify a different type
|
src/policies/policy-check.ts#L70
Unexpected any. Specify a different type
|
src/policies/policy-check.ts#L93
Unexpected any. Specify a different type
|
src/policies/policy-check.ts#L101
'scannerResults' is defined but never used
|
src/services/result.interfaces.ts#L26
'ComponentID' is already declared in the upper scope on line 26 column 13
|
src/services/result.interfaces.ts#L101
Unexpected any. Specify a different type
|
This job failed
Loading