Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

[DEV-13061] Properly style callouts & highlighted text everywhere in … #3263

[DEV-13061] Properly style callouts & highlighted text everywhere in …

[DEV-13061] Properly style callouts & highlighted text everywhere in … #3263

Status Success
Total duration 53s
Artifacts

lint.yml

on: push
Run ESLint checks
45s
Run ESLint checks
Fit to window
Zoom out
Zoom in

Annotations

36 warnings
components/Button/Button.tsx#L16
'JSX' is deprecated. Use `React.JSX` instead of the global `JSX` namespace (deprecation/deprecation)
components/Button/Button.tsx#L17
'JSX' is deprecated. Use `React.JSX` instead of the global `JSX` namespace (deprecation/deprecation)
components/Button/Button.tsx#L31
Object Literal Property name `py-3 px-4 bg-primary-darker hover:bg-primary focus:bg-primary-light focus:ring-4 focus:ring-primary-lightest active:bg-primary-darkest text-white` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Button/Button.tsx#L33
Object Literal Property name `bg-transparent text-primary-light hover:text-primary-lightest focus:text-primary-light focus:ring-3 focus:ring-primary-light active:text-primary` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Button/Button.tsx#L35
Object Literal Property name `py-1 px-3 bg-transparent hover:bg-neutral-700 focus:ring-3 focus:bg-neutral-700 focus:ring-primary-light active:bg-neutral-700 text-white` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Button/Button.tsx#L37
Object Literal Property name `border py-3 px-4 rounded-lg border-primary-dark hover:bg-primary-darkest hover:bg-opacity-30 focus:bg-primary-darkest focus:bg-opacity-30 focus:ring-primary-dark focus:ring-4 active:bg-primary-darkest active:bg-opacity-20` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Button/Button.tsx#L39
Object Literal Property name `w-full` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Button/Button.tsx#L62
Object Literal Property name `opacity-50 pointer-events-none` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Checkbox/Checkbox.tsx#L15
Object Literal Property name `opacity-50 pointer-events-none select-none` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Dropdown/Dropdown.tsx#L16
'ReactChild' is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear (deprecation/deprecation)
components/Input/Input.tsx#L37
Object Literal Property name `opacity-40 select-none` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Input/Input.tsx#L48
Object Literal Property name `pointer-events-none` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/Input/Input.tsx#L49
Object Literal Property name `!pr-12` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Heading.tsx#L11
Object Literal Property name `text-left` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Heading.tsx#L12
Object Literal Property name `text-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Heading.tsx#L13
Object Literal Property name `text-right` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/List.tsx#L12
Object Literal Property name `list-decimal` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/List.tsx#L13
Object Literal Property name `list-disc` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/List.tsx#L21
Object Literal Property name `text-left justify-start` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/List.tsx#L22
Object Literal Property name `text-center justify-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/List.tsx#L23
Object Literal Property name `text-right justify-end` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Paragraph.tsx#L15
Object Literal Property name `text-left` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Paragraph.tsx#L16
Object Literal Property name `text-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Paragraph.tsx#L17
Object Literal Property name `text-right` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Quote.tsx#L15
Object Literal Property name `justify-end text-right` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Quote.tsx#L16
Object Literal Property name `justify-center text-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Quote.tsx#L21
Object Literal Property name `border-l-[2px] pl-4` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
components/RichText/Quote.tsx#L24
Object Literal Property name `border-r-[2px] pr-4` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Layout/Header/Header.tsx#L98
Object Literal Property name `bg-neutral-700` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Subtitle.tsx#L21
Object Literal Property name `text-left` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Subtitle.tsx#L22
Object Literal Property name `text-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Subtitle.tsx#L23
Object Literal Property name `text-right` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Title.tsx#L15
Object Literal Property name `text-left` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Title.tsx#L16
Object Literal Property name `text-center` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
modules/Story/HeaderRenderer/Title.tsx#L17
Object Literal Property name `text-right` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)
Run ESLint checks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, wearerequired/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/