Adds type and lint checks to CI #4
Annotations
10 errors and 10 warnings
ESLint check:
app.config.ts#L61
Unnecessary escape character: \g
|
ESLint check:
app.config.ts#L70
Strings must use doublequote
|
ESLint check:
src/data/get-nav.tsx#L1
'matter' is defined but never used
|
ESLint check:
src/data/page-state.tsx#L1
'createEffect' is defined but never used
|
ESLint check:
src/data/page-state.tsx#L2
'StoreSetter' is defined but never used
|
ESLint check:
src/data/theme-provider.tsx#L40
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
|
ESLint check:
src/i18n/dictionaries/index.ts#L2
'ptbr' is defined but never used
|
ESLint check:
src/i18n/helpers.ts#L1
'useMatch' is defined but never used
|
ESLint check:
src/i18n/helpers.ts#L15
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
ESLint check:
src/i18n/translator.ts#L11
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
ESLint check:
src/ui/eraser-link/index.tsx#L57
Solid components run once, so an early return breaks reactivity. Move the condition inside a JSX element, such as a fragment or <Show />
|
ESLint check:
src/ui/eraser-link/index.tsx#L89
The reactive variable 'props.href' should be used within JSX, a tracked scope (like createEffect), or inside an event handler function, or else changes will be ignored
|
ESLint check:
src/ui/eraser-link/index.tsx#L91
Solid components run once, so an early return breaks reactivity. Move the condition inside a JSX element, such as a fragment or <Show />
|
ESLint check:
src/ui/logo.tsx#L105
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L125
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L145
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L165
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L185
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L205
Use an object for the style prop instead of a string
|
ESLint check:
src/ui/logo.tsx#L225
Use an object for the style prop instead of a string
|
Loading