Skip to content

Conversation

@artemdemo
Copy link
Contributor

@artemdemo artemdemo commented Feb 11, 2026

Note

Description

This PR standardizes the codebase to use trailing commas everywhere by changing Biome's trailingCommas configuration from "es5" to "all". This improves code consistency and reduces diff noise in future changes. The PR also enhances VSCode integration by explicitly configuring Biome as the default formatter for all supported file types.

Related Issue

None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

Changes Made

  • Changed biome.json to use trailingCommas: "all" instead of "es5"
  • Enhanced .vscode/settings.json with explicit Biome formatter configuration for TypeScript, JavaScript, JSON, and JSONC files
  • Added .vscode/extensions.json to recommend the Biome extension
  • Applied automatic formatting across 57 files to add trailing commas throughout the codebase

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated AGENTS.md if I made architectural changes

Additional Notes

This is a purely cosmetic change that improves code consistency. All changes are automated formatting - no manual code modifications were made. The trailing comma standard makes future diffs cleaner when adding new array/object items.


🤖 Generated by Claude | 2026-02-11 20:45 UTC

@github-actions
Copy link
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.31-pr.230.1b66184

Prefer not to change any import paths? Install using npm alias so your code still imports base44:

npm i "base44@npm:@base44-preview/cli@0.0.31-pr.230.1b66184"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.31-pr.230.1b66184"
  }
}

Preview published to npm registry — try new features instantly!

"formatter": {
"quoteStyle": "double",
"trailingCommas": "es5",
"trailingCommas": "all",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are not writing ES5, let's use modern standards and always use trailing comma.
This will reduce noise in PRs 🙏

@artemdemo artemdemo marked this pull request as ready for review February 11, 2026 12:52
@claude
Copy link

claude bot commented Feb 11, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@artemdemo artemdemo requested a review from kfirstri February 11, 2026 14:16
@artemdemo artemdemo merged commit 7c89bd4 into main Feb 11, 2026
11 checks passed
@artemdemo artemdemo deleted the trailing-comma-es6-standard branch February 11, 2026 14:16
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.

2 participants