Skip to content

Lazy mounting for popovers for performance

Sign in for the full log view
GitHub Actions / View Lint Report failed May 22, 2024 in 1s

View Lint Report

5 ESLint error(s) and 1 ESLint warning(s) found

Details

5 Error(s):

src/components/Popover/Popover.jsx line 41

  • Start Line: 41
  • End Line: 41
  • Message: Prop name (lazy) doesn't match rule (^(is|has|should)A-Z+)
    • From: [react/boolean-prop-naming]

src/components/Popover/Popover.jsx line 60

  • Start Line: 60
  • End Line: 61
  • Message: Delete
    • From: [prettier/prettier]

src/components/Popover/Popover.jsx line 90

  • Start Line: 90
  • End Line: 90
  • Message: The variable args should be named arguments_. A more descriptive name will do too.
    • From: [unicorn/prevent-abbreviations]

src/components/Popover/Popover.jsx line 90

  • Start Line: 90
  • End Line: 90
  • Message: Replace '' with ""
    • From: [prettier/prettier]

src/components/Popover/Popover.jsx line 92

  • Start Line: 92
  • End Line: 92
  • Message: Replace '' with ""
    • From: [prettier/prettier]

1 Warning(s):

src/components/DatePicker/DatePicker.jsx line 26

  • Start Line: 26
  • End Line: 270
  • Message: Arrow function has a complexity of 22. Maximum allowed is 20.
    • From: [complexity]

Annotations

Check warning on line 270 in src/components/DatePicker/DatePicker.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/DatePicker/DatePicker.jsx#L26-L270

[complexity] Arrow function has a complexity of 22. Maximum allowed is 20.

Check failure on line 41 in src/components/Popover/Popover.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Popover/Popover.jsx#L41

[react/boolean-prop-naming] Prop name (lazy) doesn't match rule (^(is|has|should)[A-Z]([A-Za-z0-9]?)+)

Check failure on line 61 in src/components/Popover/Popover.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Popover/Popover.jsx#L60-L61

[prettier/prettier] Delete `⏎`

Check failure on line 90 in src/components/Popover/Popover.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Popover/Popover.jsx#L90

[unicorn/prevent-abbreviations] The variable `args` should be named `arguments_`. A more descriptive name will do too.

Check failure on line 90 in src/components/Popover/Popover.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Popover/Popover.jsx#L90

[prettier/prettier] Replace `''` with `""`

Check failure on line 92 in src/components/Popover/Popover.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Popover/Popover.jsx#L92

[prettier/prettier] Replace `''` with `""`