Skip to content

Enable eslint curly rule as error - #305

Merged
chiragjn merged 1 commit into
mainfrom
cj-eslint-curly-rule-error
Aug 17, 2026
Merged

chiragjn merged 1 commit into
mainfrom
cj-eslint-curly-rule-error

Conversation

@chiragjn

@chiragjn chiragjn commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Note

Low Risk
Style-only ESLint enforcement and brace formatting; no logic or security behavior is intended to change.

Overview
Enforces braces on every control statement (if, else, loops, etc.) by adding ESLint curly: ['error', 'all'] in eslint.config.mjs.

The rest of the diff is mechanical formatting across frontend, local-sandbox, trueforge-core, trueforge DB/session code, and tests so existing single-line if bodies use block form. No intended behavior changes.

Also normalizes NPM_CONFIG_PROVENANCE in the release workflow to single quotes (style only).

Reviewed by Cursor Bugbot for commit 1122d35. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1122d35

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1122d35. Configure here.

@chiragjn
chiragjn merged commit 9441da0 into main Aug 17, 2026
10 checks passed
@chiragjn
chiragjn deleted the cj-eslint-curly-rule-error branch August 17, 2026 11:56
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