Skip to content
GitHub Actions / Lint failed May 14, 2024

Errors 3, Warnings 0

Found 3 errors and 0 warnings

Annotations

Check failure on line 3 in ui/theme/src/theme/colors.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unused-vars): 'black' is assigned a value but never used.

'black' is assigned a value but never used.
Raw output
  1 | const white = '#FFFFFF'
> 2 | const black = '#000000'
    |       ^
  3 | const gray100 = '#F2F2F2'
  4 | const gray200 = '#E4E4E4'
  5 | const gray400 = '#C9C9C9'

Check failure on line 10 in app/entrypoints/renderer/src/app/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unused-vars): 'ThemeSwitch' is defined but never used.

'ThemeSwitch' is defined but never used.
Raw output
   7 | import { BaseSwitch }        from '@ui/switch'
   8 | import { IconSwitch }        from '@ui/switch'
>  9 | import { ThemeSwitch }        from '@ui/switch'
     |          ^
  10 | import { TelegramIcon }      from '@ui/icons-test'
  11 |
  12 | const Page = () => (

Check failure on line 14 in ui/switch/src/icon/thumb/thumb.element.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unused-vars): 'color' is assigned a value but never used.

'color' is assigned a value but never used.
Raw output
  11 | 	// TODO уточни этот момент
  12 |
> 13 | 	const color = checked ? 'white' : 'black'
     | 	      ^
  14 |   return (
  15 | 	<motion.span initial={initial} animate={checked ? 'checked' : 'visible'} {...props} >
  16 | 		{children}