🎨 Lint checking on 821 #284
lint.yml
on: pull_request
Infrastructure setup 🔧
2s
Scanning 🎨
37s
Prettier 🎨
36s
Annotations
10 errors and 10 warnings
Scanning 🎨:
src/modules/companies/companies.service.test.ts#L26
Replace `⏎····getCompanyCompaniesHouseResponse,⏎····findSectorIndustriesResponse,⏎····getCompanyResponse,⏎····getCompanyCompaniesHouseOverseasCompanyResponse,⏎··}·=` with `·getCompanyCompaniesHouseResponse,·findSectorIndustriesResponse,·getCompanyResponse,·getCompanyCompaniesHouseOverseasCompanyResponse·}·=⏎···`
|
|
Scanning 🎨:
src/modules/companies/companies.service.test.ts#L33
Replace `····` with `······`
|
|
Scanning 🎨:
src/modules/companies/companies.service.test.ts#L99
Replace ``Company·with·registration·number·${testRegistrationNumber}·is·an·overseas·company.·UKEF·can·only·process·applications·from·companies·based·in·the·UK.`` with `⏎········`Company·with·registration·number·${testRegistrationNumber}·is·an·overseas·company.·UKEF·can·only·process·applications·from·companies·based·in·the·UK.`,⏎······`
|
Scanning 🎨:
src/modules/companies/companies.service.test.ts#L100
This line has a length of 168. Maximum allowed is 160
|
Scanning 🎨:
src/modules/companies/companies.service.test.ts#L100
Replace `.calledWith(testRegistrationNumber)` with `⏎········.calledWith(testRegistrationNumber)⏎········`
|
Scanning 🎨:
src/modules/companies/companies.service.ts#L43
Replace ``Company·with·registration·number·${registrationNumber}·is·an·overseas·company.·UKEF·can·only·process·applications·from·companies·based·in·the·UK.`` with `⏎········`Company·with·registration·number·${registrationNumber}·is·an·overseas·company.·UKEF·can·only·process·applications·from·companies·based·in·the·UK.`,⏎······`
|
Scanning 🎨
Process completed with exit code 1.
|
Prettier 🎨
Process completed with exit code 1.
|
Scanning 🎨:
src/helpers/redact-strings-in-log-args.helper.ts#L18
Function Call Object Injection Sink
|
Scanning 🎨:
src/helpers/regex.helper.test.ts#L10
Found non-literal argument to RegExp Constructor
|
Scanning 🎨:
src/helpers/regex.helper.test.ts#L18
Found non-literal argument to RegExp Constructor
|
Scanning 🎨:
src/helpers/regex.helper.test.ts#L26
Found non-literal argument to RegExp Constructor
|
Scanning 🎨:
src/helpers/regex.helper.test.ts#L34
Found non-literal argument to RegExp Constructor
|
Scanning 🎨:
test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
|
Scanning 🎨:
test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
|
Scanning 🎨:
test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
|
Scanning 🎨:
test/support/generator/get-company-generator.ts#L57
Generic Object Injection Sink
|
Scanning 🎨:
test/support/generator/get-company-generator.ts#L123
Generic Object Injection Sink
|