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

Merge pull request #912 from prezly/feature/care-4941-support-onetrus… #3167

Merge pull request #912 from prezly/feature/care-4941-support-onetrus…

Merge pull request #912 from prezly/feature/care-4941-support-onetrus… #3167

Triggered via push May 10, 2024 13:21
Status Success
Total duration 1m 1s
Artifacts

lint.yml

on: push
Run ESLint checks
51s
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, wearerequired/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.