Skip to content

Set default type for a submit button #597

Set default type for a submit button

Set default type for a submit button #597

GitHub Actions / View Lint Report failed Dec 23, 2024 in 1s

View Lint Report

30 ESLint error(s) and 0 ESLint warning(s) found

Details

30 Error(s):

src/components/DatePicker/DatePicker.jsx line 191

  • Start Line: 191
  • End Line: 191
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 192

  • Start Line: 192
  • End Line: 192
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 193

  • Start Line: 193
  • End Line: 193
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 194

  • Start Line: 194
  • End Line: 194
  • Message: Replace ···················· with ······················
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 195

  • Start Line: 195
  • End Line: 195
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 196

  • Start Line: 196
  • End Line: 196
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/DatePicker.jsx line 197

  • Start Line: 197
  • End Line: 197
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/RangeDatePicker.jsx line 37

  • Start Line: 37
  • End Line: 37
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/DatePicker/RangeDatePicker.jsx line 38

  • Start Line: 38
  • End Line: 38
  • Message: Insert ··
    • From: [prettier/prettier]

src/components/Drawer.jsx line 83

  • Start Line: 83
  • End Line: 83
  • Message: Replace {content} with ⏎············································{content}⏎········································
    • From: [prettier/prettier]

src/components/Sidebar/Sidebar.Link.jsx line 42

  • Start Line: 42
  • End Line: 43
  • Message: Delete
    • From: [prettier/prettier]

src/helpers/flash.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: ./classnames import should occur after import of ../icons
    • From: [import/order]

src/icons/postcss.config.js line 1

  • Start Line: 1
  • End Line: 1
  • Message: Do not use "module".
    • From: [unicorn/prefer-module]

src/icons/src/Tutorials/TutorialsSquareIcon.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/src/helpers/icon.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ./classnames
    • From: [import/order]

src/icons/src/images/CircleCrossImage.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/src/images/CirclePlusImage.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/src/images/ComputerImage.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/src/images/EmvImage.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/src/images/VerifoneImage.jsx line 2

  • Start Line: 2
  • End Line: 2
  • Message: react import should occur before import of ../helpers/classnames
    • From: [import/order]

src/icons/vite.config.js line 1

  • Start Line: 1
  • End Line: 1
  • Message: Prefer node:path over path.
    • From: [unicorn/prefer-node-protocol]

src/icons/vite.config.js line 12

  • Start Line: 12
  • End Line: 12
  • Message: Do not use "__dirname".
    • From: [unicorn/prefer-module]

src/icons/vite.config.js line 15

  • Start Line: 15
  • End Line: 15
  • Message: Insert ,
    • From: [prettier/prettier]

src/icons/vite.config.js line 21

  • Start Line: 21
  • End Line: 21
  • Message: Insert ,
    • From: [prettier/prettier]

src/icons/vite.config.js line 22

  • Start Line: 22
  • End Line: 22
  • Message: Insert ,
    • From: [prettier/prettier]

src/utils/index.js line 1

  • Start Line: 1
  • End Line: 1
  • Message: Insert ;
    • From: [prettier/prettier]

src/utils/index.js line 2

  • Start Line: 2
  • End Line: 2
  • Message: Insert ;
    • From: [prettier/prettier]

src/utils/index.js line 3

  • Start Line: 3
  • End Line: 3
  • Message: Insert ;
    • From: [prettier/prettier]

src/utils/index.js line 4

  • Start Line: 4
  • End Line: 4
  • Message: Insert ;
    • From: [prettier/prettier]

src/utils/index.js line 5

  • Start Line: 5
  • End Line: 5
  • Message: Insert ;
    • From: [prettier/prettier]

Annotations

Check failure on line 191 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#L191

[prettier/prettier] Insert `··`

Check failure on line 192 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#L192

[prettier/prettier] Insert `··`

Check failure on line 193 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#L193

[prettier/prettier] Insert `··`

Check failure on line 194 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#L194

[prettier/prettier] Replace `····················` with `······················`

Check failure on line 195 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#L195

[prettier/prettier] Insert `··`

Check failure on line 196 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#L196

[prettier/prettier] Insert `··`

Check failure on line 197 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#L197

[prettier/prettier] Insert `··`

Check failure on line 37 in src/components/DatePicker/RangeDatePicker.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/DatePicker/RangeDatePicker.jsx#L37

[prettier/prettier] Insert `··`

Check failure on line 38 in src/components/DatePicker/RangeDatePicker.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/DatePicker/RangeDatePicker.jsx#L38

[prettier/prettier] Insert `··`

Check failure on line 83 in src/components/Drawer.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Drawer.jsx#L83

[prettier/prettier] Replace `{content}` with `⏎············································{content}⏎········································`

Check failure on line 43 in src/components/Sidebar/Sidebar.Link.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/components/Sidebar/Sidebar.Link.jsx#L42-L43

[prettier/prettier] Delete `⏎`

Check failure on line 2 in src/helpers/flash.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/helpers/flash.jsx#L2

[import/order] `./classnames` import should occur after import of `../icons`

Check failure on line 1 in src/icons/postcss.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/postcss.config.js#L1

[unicorn/prefer-module] Do not use "module".

Check failure on line 2 in src/icons/src/Tutorials/TutorialsSquareIcon.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/Tutorials/TutorialsSquareIcon.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 2 in src/icons/src/helpers/icon.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/helpers/icon.jsx#L2

[import/order] `react` import should occur before import of `./classnames`

Check failure on line 2 in src/icons/src/images/CircleCrossImage.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/images/CircleCrossImage.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 2 in src/icons/src/images/CirclePlusImage.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/images/CirclePlusImage.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 2 in src/icons/src/images/ComputerImage.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/images/ComputerImage.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 2 in src/icons/src/images/EmvImage.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/images/EmvImage.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 2 in src/icons/src/images/VerifoneImage.jsx

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/src/images/VerifoneImage.jsx#L2

[import/order] `react` import should occur before import of `../helpers/classnames`

Check failure on line 1 in src/icons/vite.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/vite.config.js#L1

[unicorn/prefer-node-protocol] Prefer `node:path` over `path`.

Check failure on line 12 in src/icons/vite.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/vite.config.js#L12

[unicorn/prefer-module] Do not use "__dirname".

Check failure on line 15 in src/icons/vite.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/vite.config.js#L15

[prettier/prettier] Insert `,`

Check failure on line 21 in src/icons/vite.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/vite.config.js#L21

[prettier/prettier] Insert `,`

Check failure on line 22 in src/icons/vite.config.js

See this annotation in the file changed.

@github-actions github-actions / View Lint Report

src/icons/vite.config.js#L22

[prettier/prettier] Insert `,`