fix(messageRenderer): differentiate heading size by its level [WPB-11802] #5683
Annotations
2 errors and 11 warnings
Test:
src/script/util/messageRenderer.test.ts#L557
expect(received).toBe(expected) // Object.is equality
Expected: "<div class=\"md-heading\">heading</div>"
Received: "<div class=\"md-heading md-heading--1\">heading</div>"
at Object.toBe (src/script/util/messageRenderer.test.ts:557:40)
|
Test
Process completed with exit code 1.
|
|
Lint:
server/config/client.config.ts#L78
No magic number: 4
|
Lint:
server/config/client.config.ts#L81
No magic number: 500
|
Lint:
server/config/client.config.ts#L82
No magic number: 4
|
Lint:
server/config/client.config.ts#L83
No magic number: 8
|
Lint:
server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
|
Lint:
server/config/server.config.ts#L112
No magic number: 21080
|
Lint:
server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|
Lint:
server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
|
Lint:
server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
|
Lint:
server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|
Loading