Skip to content

fix: enforce curly braces and remove eslint-env comments#253

Open
solaris007 wants to merge 1 commit intomainfrom
fix/enforce-curly-braces
Open

fix: enforce curly braces and remove eslint-env comments#253
solaris007 wants to merge 1 commit intomainfrom
fix/enforce-curly-braces

Conversation

@solaris007
Copy link
Copy Markdown
Member

Summary

  • Remove curly: off override from eslint config
  • Expand single-line if/while/for bodies to multi-line with braces
  • Remove redundant /* eslint-env */ comments

Companion to adobe/spacecat-shared#1521.

Test plan

  • npm run lint passes
  • npm test passes

Remove curly: off override from eslint config now that code complies
with the curly rule from eslint-config-helix 3.0.24. Remove redundant
eslint-env comments (globals configured by helix test preset).
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

This PR will trigger a patch release when merged.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant