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

Fix some lint warnings #1186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix some lint warnings #1186

wants to merge 1 commit into from

Conversation

VitikaSoni
Copy link
Contributor

@VitikaSoni VitikaSoni commented Jan 30, 2023

Fixes part of #608, covered the lint warnings for the following rules:

  • no-unused-vars
  • prefer-destructuring
  • unicorn/no-for-loop
  • unicorn/prefer-includes
  • unicorn/prefer-string-slice
  • unicorn/prefer-query-selector
  • no-negated-condition

Signed-off-by: Vitika9 [email protected]

@VitikaSoni
Copy link
Contributor Author

@psiinon

  • For no-negated-condition do we need to change !someBool to someBool == false?
  • Do we really need to use unicorn/filename-case and change almost all the file names (just confirming before I make changes)?
  • Please let me know if I should squash all the commits into one.

Thanks!

@kingthorin
Copy link
Member

All seems sane to me.

@VitikaSoni
Copy link
Contributor Author

Please help me with my questions.

@psiinon
Copy link
Member

psiinon commented May 11, 2023

Sorry, missed this question :(

Re the test failure - thats unfortunately expected so we can ignore that.

@VitikaSoni VitikaSoni changed the title Fixed some lint warnings Fix some lint warnings May 14, 2023
Fix lint warnings for the following rules:
- no-unused-vars
- prefer-destructuring
- unicorn/no-for-loop
- unicorn/prefer-includes
- unicorn/prefer-string-slice
- unicorn/prefer-query-selector
- no-negated-condition

Signed-off-by: VitikaSoni <[email protected]>
@psiinon
Copy link
Member

psiinon commented May 23, 2023

Have you tried testing the HUD manually with these changes?
It loads for me but then none of the controls work :/
Click on the HUD buttons on ther left and right - no dialogs are shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants