Skip to content

chore: enforce spacing inside braces - #2963

Merged
markscott-ms merged 1 commit into
finos:mainfrom
russlan23:chore/eslint-object-curly-spacing-1502
Aug 10, 2026
Merged

markscott-ms merged 1 commit into
finos:mainfrom
russlan23:chore/eslint-object-curly-spacing-1502

Conversation

@russlan23

Copy link
Copy Markdown
Contributor

Description

Closes #1502.

Adds object-curly-spacing: ['error', 'always'] to each flat ESLint configuration, applies the rule with the root lint-fix command, and documents the expected import style in CONTRIBUTING.md.

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
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Schema (calm/)
  • CALM AI (calm-ai/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • CALM Server (calm-server/)
  • CALM Widgets (calm-widgets/)
  • Documentation (docs/)
  • Shared (shared/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD

The rule also applies to calm-models and calm-guard, which are not listed separately above.

Commit Message Format ✅

The commit uses the conventional chore: prefix and includes the required DCO sign-off.

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Validated in the repository's required Node 26 environment:

  • npm run lint-fix
  • npm run lint (zero errors; existing warnings only)
  • git diff --check

No runtime behavior changed, so I did not add or run unit tests. Cypress installation was disabled for the lint-only container run.

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

AI assistance was used to apply and validate the mechanical formatting change; I reviewed the resulting diff.

@markscott-ms markscott-ms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • adds spacing, improving consistent readability, meeting issue requirement.

thank you for the contribution

@markscott-ms
markscott-ms merged commit eeaf93c into finos:main Aug 10, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Affects `cli` code shared

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review and Standardize ESLint Rules for Import Statement Formatting

2 participants