Teasing 2023 #532
Annotations
10 errors and 13 warnings
lint (18):
src/controllers/partners/getPartners.ts#L16
'display' is defined but never used
|
lint (18):
tests/admin/auth/login.test.ts#L10
'Partner' is defined but never used
|
lint (18):
tests/admin/auth/login.test.ts#L16
'nonAdminUser' is assigned a value but never used
|
lint (18):
tests/admin/auth/login.test.ts#L18
'adminToken' is assigned a value but never used
|
lint (18):
tests/admin/partners/getPartners.test.ts#L27
The variable `i` should be named `index`. A more descriptive name will do too
|
lint (18):
tests/admin/settings/updateSetting.test.ts#L8
'faker' is defined but never used
|
lint (18):
tests/admin/settings/updateSetting.test.ts#L9
'nanoid' is defined but never used
|
lint (18):
tests/partners/getPartners.test.ts#L20
The variable `i` should be named `index`. A more descriptive name will do too
|
lint (18)
Process completed with exit code 1.
|
test (18)
Process completed with exit code 1.
|
build (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint (18):
tests/admin/auth/login.test.ts#L10
`@prisma/client` import should occur before import of `../../../src/app`
|
lint (18):
tests/admin/auth/login.test.ts#L48
Replace `·Permission.anim·` with `Permission.anim`
|
|
|
lint (18):
tests/admin/partners/getPartners.test.ts#L8
`@faker-js/faker` import should occur before import of `../../../src/app`
|
lint (18):
tests/admin/partners/getPartners.test.ts#L12
`@prisma/client` import should occur before import of `../../../src/app`
|
|
lint (18):
tests/admin/partners/getPartners.test.ts#L59
Replace `.get('/admin/partners').set('Authorization',·`Bearer·${adminToken}`)` with `⏎······.get('/admin/partners')⏎······.set('Authorization',·`Bearer·${adminToken}`)⏎······`
|
|
lint (18):
tests/admin/partners/getPartners.test.ts#L81
Replace `⏎······'id',⏎······'name',⏎······'link',⏎······'display',⏎····` with `'id',·'name',·'link',·'display'`
|
test (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|