Skip to content
GitHub Actions / ESLint Report Analysis failed Oct 14, 2024 in 1s

ESLint Report Analysis

16 ESLint error(s) and 1 ESLint warning(s) found in pull request changed files.

Details

Pull Request Changed Files ESLint Results:

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

16 Error(s):

frontend/src/Components/ConfirmationModalDelete.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Components/ConfirmationModalDelete.jsx line 4

  • Start Line: 4
  • End Line: 4
  • Message: 'isOpen' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/ConfirmationModalDelete.jsx line 5

  • Start Line: 5
  • End Line: 5
  • Message: 'onClose' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/ConfirmationModalDelete.jsx line 6

  • Start Line: 6
  • End Line: 6
  • Message: 'onConfirm' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/ConfirmationModalDelete.jsx line 7

  • Start Line: 7
  • End Line: 7
  • Message: 'confirmationText' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/ConfirmationModalDelete.jsx line 8

  • Start Line: 8
  • End Line: 8
  • Message: 'setConfirmationText' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/ConfirmationModalDelete.jsx line 19

  • Start Line: 19
  • End Line: 19
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Components/ConfirmationModalDelete.jsx line 19

  • Start Line: 19
  • End Line: 19
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Components/DeleteAccountButton.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Pages/Admin/Astaff.jsx line 5

  • Start Line: 5
  • End Line: 5
  • Message: 'useDisclosure' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Pages/Admin/Astaff.jsx line 27

  • Start Line: 27
  • End Line: 27
  • Message: 'Header' is defined but never used.
    • From: [no-unused-vars]

[frontend/src/Pages/blog manage/AddBlog.jsx line 1](https://github.com/nmdra/FarmCart/blob/8b6fcc71fe16068ed8787fcc104f629e913fb66e/frontend/src/Pages/blog manage/AddBlog.jsx#L1:L1)

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

[frontend/src/Pages/blog manage/UpdateBlog.jsx line 1](https://github.com/nmdra/FarmCart/blob/8b6fcc71fe16068ed8787fcc104f629e913fb66e/frontend/src/Pages/blog manage/UpdateBlog.jsx#L1:L1)

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

[frontend/src/Pages/blog manage/UpdateBlog.jsx line 16](https://github.com/nmdra/FarmCart/blob/8b6fcc71fe16068ed8787fcc104f629e913fb66e/frontend/src/Pages/blog manage/UpdateBlog.jsx#L16:L16)

  • Start Line: 16
  • End Line: 16
  • Message: 'uploadMessage' is assigned a value but never used.
    • From: [no-unused-vars]

frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx line 39

  • Start Line: 39
  • End Line: 39
  • Message: 'setSuccessMessage' is assigned a value but never used.
    • From: [no-unused-vars]

1 Warning(s):

frontend/src/Pages/Customer/Settings.jsx line 55

  • Start Line: 55
  • End Line: 55
  • Message: React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.
    • From: [react-hooks/exhaustive-deps]

Annotations

Check failure on line 1 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 4 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L4

[react/prop-types] 'isOpen' is missing in props validation

Check failure on line 5 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L5

[react/prop-types] 'onClose' is missing in props validation

Check failure on line 6 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L6

[react/prop-types] 'onConfirm' is missing in props validation

Check failure on line 7 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L7

[react/prop-types] 'confirmationText' is missing in props validation

Check failure on line 8 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L8

[react/prop-types] 'setConfirmationText' is missing in props validation

Check failure on line 19 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L19

[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.

Check failure on line 19 in frontend/src/Components/ConfirmationModalDelete.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/ConfirmationModalDelete.jsx#L19

[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.

Check failure on line 1 in frontend/src/Components/DeleteAccountButton.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/DeleteAccountButton.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 5 in frontend/src/Pages/Admin/Astaff.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/Admin/Astaff.jsx#L5

[no-unused-vars] 'useDisclosure' is defined but never used.

Check failure on line 27 in frontend/src/Pages/Admin/Astaff.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/Admin/Astaff.jsx#L27

[no-unused-vars] 'Header' is defined but never used.

Check warning on line 55 in frontend/src/Pages/Customer/Settings.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/Customer/Settings.jsx#L55

[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.

Check failure on line 1 in frontend/src/Pages/blog manage/AddBlog.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/blog manage/AddBlog.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 1 in frontend/src/Pages/blog manage/UpdateBlog.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/blog manage/UpdateBlog.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 16 in frontend/src/Pages/blog manage/UpdateBlog.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/blog manage/UpdateBlog.jsx#L16

[no-unused-vars] 'uploadMessage' is assigned a value but never used.

Check failure on line 1 in frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 39 in frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx#L39

[no-unused-vars] 'setSuccessMessage' is assigned a value but never used.