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.63%. Comparing base (8e6b595) to head (fd23725).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3508   +/-   ##
=======================================
  Coverage   53.63%   53.63%           
=======================================
  Files        2260     2260           
  Lines       85976    85976           
  Branches    24151    24151           
=======================================
  Hits        46116    46116           
  Misses      38298    38298           
  Partials     1562     1562           
Flag Coverage Δ *Carryforward flag
adoption-insights 83.70% <ø> (ø) Carriedforward from 8e6b595
ai-integrations 67.95% <ø> (ø) Carriedforward from 8e6b595
app-defaults 69.79% <ø> (ø) Carriedforward from 8e6b595
augment 46.39% <ø> (ø) Carriedforward from 8e6b595
boost 74.64% <ø> (ø) Carriedforward from 8e6b595
bulk-import 72.46% <ø> (ø) Carriedforward from 8e6b595
cost-management 14.10% <ø> (ø) Carriedforward from 8e6b595
dcm 61.79% <ø> (ø) Carriedforward from 8e6b595
extensions 61.53% <ø> (ø) Carriedforward from 8e6b595
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 8e6b595
global-header 59.71% <ø> (ø)
homepage 49.84% <ø> (ø) Carriedforward from 8e6b595
install-dynamic-plugins 56.23% <ø> (ø) Carriedforward from 8e6b595
konflux 91.49% <ø> (ø) Carriedforward from 8e6b595
lightspeed 68.57% <ø> (ø) Carriedforward from 8e6b595
mcp-integrations 85.46% <ø> (ø) Carriedforward from 8e6b595
orchestrator 37.79% <ø> (ø) Carriedforward from 8e6b595
quickstart 63.76% <ø> (ø) Carriedforward from 8e6b595
sandbox 79.56% <ø> (ø) Carriedforward from 8e6b595
scorecard 83.96% <ø> (ø) Carriedforward from 8e6b595
theme 61.26% <ø> (ø) Carriedforward from 8e6b595
translations 7.25% <ø> (ø) Carriedforward from 8e6b595
x2a 78.68% <ø> (ø) Carriedforward from 8e6b595

*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 8e6b595...fd23725. 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 →

@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
@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 →

@christoph-jerolimov

Copy link
Copy Markdown
Member

/fs-fix use a function keyword instead

@fullsend-ai-coder

fullsend-ai-coder Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Fix · ❌ Terminated · Started 4:05 PM UTC · Ended 4:09 PM UTC
Commit: 2903d71 · 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 c0bd425 to fd23725 Compare June 22, 2026 16:05
@sonarqubecloud

Copy link
Copy Markdown

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ❌ Failure · Started 4:05 PM UTC · Completed 4:08 PM UTC
Commit: 2903d71 · 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