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: cleanup lint warning #1109

Merged
merged 3 commits into from
Mar 19, 2024
Merged

fix: cleanup lint warning #1109

merged 3 commits into from
Mar 19, 2024

Conversation

Junjiequan
Copy link
Member

@Junjiequan Junjiequan commented Mar 12, 2024

Description

Clean up for lint warnings.

Motivation

Github action throws too many warnings.

Changes:

  • Suppress unused vars warning in tests for clarity
  • Remove trivial commit messages
  • Remove unused args
  • Remove unused variables
  • Remove const declaration for permission check functions

Tests included/Docs Updated?

  • Included for each change/fix?
  • Passing? (Merge will not be approved unless this is checked)
  • Docs updated?
  • New packages used/requires npm install?
  • Toggle added for new features?

test/TestData.js Outdated
@@ -430,9 +431,7 @@ const TestData = {
SampleCorrect: {
owner: "Max Novelli",
description: "This is a very important sample",
sampleCharacteristics: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be kept

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reversed it back with the correct value.
Thanks for pointing out this

@Junjiequan Junjiequan marked this pull request as ready for review March 19, 2024 09:17
@Junjiequan Junjiequan requested a review from bpedersen2 March 19, 2024 09:23
@Junjiequan Junjiequan changed the title fixed all lint warning fix: cleanup lint warning Mar 19, 2024
@Junjiequan Junjiequan merged commit 4e32b87 into master Mar 19, 2024
7 checks passed
@Junjiequan Junjiequan deleted the fit-es-lint-warning branch March 19, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants