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 lgtm alerts #1169

Merged
merged 5 commits into from
Jun 29, 2021
Merged

Fix lgtm alerts #1169

merged 5 commits into from
Jun 29, 2021

Conversation

Tbaut
Copy link
Collaborator

@Tbaut Tbaut commented Jun 22, 2021

@Tbaut Tbaut requested review from RyRy79261, tanmoyAtb and FSM1 June 22, 2021 13:38
@render
Copy link

render bot commented Jun 22, 2021

@render
Copy link

render bot commented Jun 22, 2021

@Tbaut Tbaut added the Status: Review Needed 👀 Added to PRs when they need more review label Jun 22, 2021
@github-actions github-actions bot added the Type: Bug Fix Added to PRs if they are addressing a bug label Jun 22, 2021
@lgtm-com
Copy link

lgtm-com bot commented Jun 22, 2021

This pull request fixes 14 alerts when merging 698ad53 into c5c925f - view on LGTM.com

fixed alerts:

  • 8 for Duplicate character in character class
  • 3 for Identical operands
  • 2 for Useless conditional
  • 1 for Useless assignment to local variable

@lgtm-com
Copy link

lgtm-com bot commented Jun 22, 2021

This pull request fixes 14 alerts when merging 6cddef2 into c5c925f - view on LGTM.com

fixed alerts:

  • 8 for Duplicate character in character class
  • 3 for Identical operands
  • 2 for Useless conditional
  • 1 for Useless assignment to local variable

valuesArray[2] = `${values[2]}%`
}

export function recomposeColor({ type, values }: IColorObject) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like a regression

Copy link
Collaborator Author

@Tbaut Tbaut Jun 23, 2021

Choose a reason for hiding this comment

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

check it out in details, valuesArray is actually never used.

edit: I'm fine to remove this function altogether, I don't think it's used either anyway.

@Tbaut Tbaut requested a review from RyRy79261 June 23, 2021 14:50
@lgtm-com
Copy link

lgtm-com bot commented Jun 23, 2021

This pull request fixes 14 alerts when merging 33ab8d7 into d3e6974 - view on LGTM.com

fixed alerts:

  • 8 for Duplicate character in character class
  • 3 for Identical operands
  • 2 for Useless conditional
  • 1 for Useless assignment to local variable

Copy link
Contributor

@tanmoyAtb tanmoyAtb left a comment

Choose a reason for hiding this comment

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

lgtm!

@lgtm-com
Copy link

lgtm-com bot commented Jun 29, 2021

This pull request fixes 14 alerts when merging 88f3c8f into 83b333d - view on LGTM.com

fixed alerts:

  • 8 for Duplicate character in character class
  • 3 for Identical operands
  • 2 for Useless conditional
  • 1 for Useless assignment to local variable

@Tbaut Tbaut removed the Status: Review Needed 👀 Added to PRs when they need more review label Jun 29, 2021
@Tbaut Tbaut merged commit 20ca44f into dev Jun 29, 2021
@Tbaut Tbaut deleted the fix/tbaut-fix-lgtm-alerts branch June 29, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix Added to PRs if they are addressing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants