Skip to content

fix(global-header): name anonymous arrow function in eslint config#3508

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fix/global-header-named-arrow-function
Open

fix(global-header): name anonymous arrow function in eslint config#3508
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fix/global-header-named-arrow-function

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Assign the exported arrow function to a named variable createEslintConfig to satisfy SonarQube rule javascript:S7726 and improve stack trace readability.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com


Closes #3486

Post-script verification

  • Branch is not main/master (fix/global-header-named-arrow-function)
  • Secret scan passed (gitleaks — 0634d5438362100cd24ef8c6f505c569551c9df2..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.62%. Comparing base (c0783eb) to head (c0bd425).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3508   +/-   ##
=======================================
  Coverage   53.62%   53.62%           
=======================================
  Files        2256     2256           
  Lines       85870    85870           
  Branches    24128    24140   +12     
=======================================
  Hits        46046    46046           
  Misses      39528    39528           
  Partials      296      296           
Flag Coverage Δ *Carryforward flag
adoption-insights 83.70% <ø> (ø) Carriedforward from c0783eb
ai-integrations 67.95% <ø> (ø) Carriedforward from c0783eb
app-defaults 69.79% <ø> (ø) Carriedforward from c0783eb
augment 46.39% <ø> (ø) Carriedforward from c0783eb
boost 100.00% <ø> (ø) Carriedforward from c0783eb
bulk-import 72.46% <ø> (ø) Carriedforward from c0783eb
cost-management 14.10% <ø> (ø) Carriedforward from c0783eb
dcm 61.79% <ø> (ø) Carriedforward from c0783eb
extensions 61.53% <ø> (ø) Carriedforward from c0783eb
global-floating-action-button 71.18% <ø> (ø) Carriedforward from c0783eb
global-header 59.71% <ø> (ø)
homepage 49.84% <ø> (ø) Carriedforward from c0783eb
install-dynamic-plugins 56.23% <ø> (ø) Carriedforward from c0783eb
konflux 91.49% <ø> (ø) Carriedforward from c0783eb
lightspeed 68.57% <ø> (ø) Carriedforward from c0783eb
mcp-integrations 85.46% <ø> (ø) Carriedforward from c0783eb
orchestrator 37.75% <ø> (ø) Carriedforward from c0783eb
quickstart 63.76% <ø> (ø) Carriedforward from c0783eb
sandbox 79.56% <ø> (ø) Carriedforward from c0783eb
scorecard 83.96% <ø> (ø) Carriedforward from c0783eb
theme 61.26% <ø> (ø) Carriedforward from c0783eb
translations 7.25% <ø> (ø) Carriedforward from c0783eb
x2a 78.68% <ø> (ø) Carriedforward from c0783eb

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@christoph-jerolimov

Copy link
Copy Markdown
Member

/fs-fix use the function keyword instead

@fullsend-ai-coder

fullsend-ai-coder Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Fix · ❌ Terminated · Started 6:36 AM UTC · Ended 6:40 AM UTC
Commit: c0783eb · View workflow run →

Assign the exported arrow function to a named variable `createEslintConfig`
to satisfy SonarQube rule javascript:S7726 and improve stack trace readability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fullsend-ai-coder fullsend-ai-coder Bot force-pushed the fix/global-header-named-arrow-function branch from 8aea9d8 to c0bd425 Compare June 20, 2026 06:36
@sonarqubecloud

Copy link
Copy Markdown

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ❌ Failure · Started 6:36 AM UTC · Completed 6:40 AM UTC
Commit: c0783eb · View workflow run →

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix SonarQube MINOR issues in the global-header workspace

1 participant