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

chore: eslint cleanup - eqeqeq, unused experession, index key #349

Merged
merged 4 commits into from
Mar 31, 2022

Conversation

anrusina
Copy link
Contributor

Eslint related cleanup with no logic changes.
All non-obvious fixes where skipped for now. Covered next rules:

  • eqeqeq - When == used instead of ===
  • react/no-array-index-key - it's not safe to use index as key in the arrays (it's default behaviour, so don't even have much sense) - replaced where a different unique identified already available
  • removed unused imports and some unused variables

Type

  • Chore
  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Signed-off-by: Nastya Rusina [email protected]

@anrusina anrusina requested review from a team, jsonporter and olga-union and removed request for a team March 30, 2022 23:14
@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #349 (8adfaeb) into master (d1d9bd0) will increase coverage by 0.05%.
The diff coverage is 47.82%.

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
+ Coverage   65.33%   65.38%   +0.04%     
==========================================
  Files         394      394              
  Lines        8770     8774       +4     
  Branches     1518     1519       +1     
==========================================
+ Hits         5730     5737       +7     
+ Misses       3040     3037       -3     
Impacted Files Coverage Δ
src/client.tsx 0.00% <0.00%> (ø)
...c/components/Entities/EntityExecutionsBarChart.tsx 66.66% <ø> (ø)
src/components/Project/ProjectExecutions.tsx 98.14% <ø> (ø)
src/components/Workflow/workflowQueries.ts 42.30% <ø> (ø)
src/components/common/BarChart.tsx 92.00% <ø> (-0.31%) ⬇️
src/components/common/ExpandableMonospaceText.tsx 82.60% <0.00%> (-3.76%) ⬇️
...mponents/flytegraph/ReactFlow/NodeStatusLegend.tsx 0.00% <0.00%> (ø)
...s/flytegraph/ReactFlow/ReactFlowGraphComponent.tsx 0.00% <0.00%> (ø)
...mponents/flytegraph/ReactFlow/ReactFlowWrapper.tsx 0.00% <0.00%> (ø)
...ents/flytegraph/ReactFlow/customNodeComponents.tsx 0.00% <0.00%> (ø)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5885d18...8adfaeb. Read the comment docs.

@anrusina anrusina force-pushed the narusina/eslint_03_30 branch from cfab415 to 8adfaeb Compare March 31, 2022 15:11
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

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

LGTM!

@anrusina anrusina merged commit ce1f113 into master Mar 31, 2022
@anrusina anrusina deleted the narusina/eslint_03_30 branch March 31, 2022 15:39
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.48.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants