Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Current fresh build warnings from ESLint #313

Open
gbowne1 opened this issue Oct 19, 2023 · 3 comments
Open

[Bug]: Current fresh build warnings from ESLint #313

gbowne1 opened this issue Oct 19, 2023 · 3 comments
Assignees
Labels
a11y Issues with accessibity backend This is a backend issue or PR bug Something isn't working css Issues with css design devops this is a devops related feature or issue or PR enhancement New feature or request frontend This is a frontend issue or PR good first issue Good for newcomers hacktoberfest The hacktoberfest label help wanted Extra attention is needed high-complexity This issue is an advanced complexity issue high-priority infrastructure medium-complexity This issue is medium complexity medium-priority needs-testing This needs testing

Comments

@gbowne1
Copy link
Owner

gbowne1 commented Oct 19, 2023

Here is the current warnings from the build as of Thu, Nov. 2nd, 2023 6:30pm USA time.

Compiled with warnings.

[eslint] 
src/components/CookieModal/CookieModal.jsx
  Line 16:5:  React Hook useEffect contains a call to 'setCookiesAccepted'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook  react-hooks/exhaustive-deps

src/components/CustomTabPanel/CustomTabPanel.jsx
  Line 2:15:  'Button' is defined but never used  no-unused-vars
  Line 2:23:  'Tabs' is defined but never used    no-unused-vars
  Line 2:29:  'Tab' is defined but never used     no-unused-vars

src/components/PostForm/PostForm.jsx
  Line 6:8:  'InsertPhotoIcon' is defined but never used  no-unused-vars
  Line 7:8:  'VideoFileIcon' is defined but never used    no-unused-vars
  Line 8:8:  'MoodIcon' is defined but never used         no-unused-vars

src/data/placeholderImageUrl.js
  Line 1:1:  Assign literal to a variable before exporting as module default  import/no-anonymous-default-export

src/pages/AdminDashboard/AdminDashboard.jsx
  Line 9:12:  'users' is assigned a value but never used  no-unused-vars

src/pages/Events/CreateEventModal/CreateEventModal.jsx
  Line 108:25:  Expected '===' and instead saw '=='  eqeqeq

src/pages/Profile/Profile.jsx
  Line 60:11:  'handleChange' is assigned a value but never used  no-unused-vars

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in [eslint] 
src/components/CookieModal/CookieModal.jsx
  Line 16:5:  React Hook useEffect contains a call to 'setCookiesAccepted'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook  react-hooks/exhaustive-deps

src/components/CustomTabPanel/CustomTabPanel.jsx
  Line 2:15:  'Button' is defined but never used  no-unused-vars
  Line 2:23:  'Tabs' is defined but never used    no-unused-vars
  Line 2:29:  'Tab' is defined but never used     no-unused-vars

src/components/PostForm/PostForm.jsx
  Line 6:8:  'InsertPhotoIcon' is defined but never used  no-unused-vars
  Line 7:8:  'VideoFileIcon' is defined but never used    no-unused-vars
  Line 8:8:  'MoodIcon' is defined but never used         no-unused-vars

src/data/placeholderImageUrl.js
  Line 1:1:  Assign literal to a variable before exporting as module default  import/no-anonymous-default-export

src/pages/AdminDashboard/AdminDashboard.jsx
  Line 9:12:  'users' is assigned a value but never used  no-unused-vars

src/pages/Events/CreateEventModal/CreateEventModal.jsx
  Line 108:25:  Expected '===' and instead saw '=='  eqeqeq

src/pages/Profile/Profile.jsx
  Line 60:11:  'handleChange' is assigned a value but never used  no-unused-vars

webpack compiled with 1 warning

Edit: updated the current build warnings from the previous ones.

@gbowne1 gbowne1 added the bug Something isn't working label Oct 19, 2023
@gbowne1 gbowne1 added this to the Testing & Deployment milestone Oct 19, 2023
@gbowne1 gbowne1 added help wanted Extra attention is needed good first issue Good for newcomers frontend This is a frontend issue or PR high-priority needs-testing This needs testing medium-complexity This issue is medium complexity hacktoberfest The hacktoberfest label labels Oct 19, 2023
@gbowne1 gbowne1 added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers css Issues with css a11y Issues with accessibity frontend This is a frontend issue or PR backend This is a backend issue or PR design infrastructure high-priority medium-priority needs-testing This needs testing and removed help wanted Extra attention is needed good first issue Good for newcomers frontend This is a frontend issue or PR high-priority needs-testing This needs testing medium-complexity This issue is medium complexity hacktoberfest The hacktoberfest label bug Something isn't working labels Nov 3, 2023
@gbowne1 gbowne1 added high-complexity This issue is an advanced complexity issue medium-complexity This issue is medium complexity hacktoberfest The hacktoberfest label devops this is a devops related feature or issue or PR labels Nov 3, 2023
@gbowne1
Copy link
Owner Author

gbowne1 commented Nov 6, 2023

@manuel12 have you seen any of these yet?

@Ruffzi069
Copy link

Hey @gbowne1 ! I would like to work on the issue if its open!
Thank you!

@gbowne1
Copy link
Owner Author

gbowne1 commented Oct 18, 2024

@Ruffzi069

Yes this is open but this issue may not still exist.

Let me know if it is, or any other issues with the project you found

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issues with accessibity backend This is a backend issue or PR bug Something isn't working css Issues with css design devops this is a devops related feature or issue or PR enhancement New feature or request frontend This is a frontend issue or PR good first issue Good for newcomers hacktoberfest The hacktoberfest label help wanted Extra attention is needed high-complexity This issue is an advanced complexity issue high-priority infrastructure medium-complexity This issue is medium complexity medium-priority needs-testing This needs testing
Projects
Development

No branches or pull requests

2 participants