Skip to content

feat: preserve trailing_commas#102

Merged
riscait merged 1 commit intomainfrom
preserve-trailing_commas
May 31, 2025
Merged

feat: preserve trailing_commas#102
riscait merged 1 commit intomainfrom
preserve-trailing_commas

Conversation

@riscait
Copy link
Copy Markdown
Member

@riscait riscait commented May 31, 2025

🙌 What's Done

  • add trailing_commas: preserve
    • The default setting conflicts with require_trailing_commas.

🤼 Desired Review Method

  • Correction Commit
  • Pair programming

Note

It is possible that a reviewer's will may cause a method to be implemented that is not selected.

📝 Additional Notes

Pre-launch Checklist

  • I have reviewed my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I updated/added relevant documentation (doc comments with ///).

Copilot AI review requested due to automatic review settings May 31, 2025 09:14
@riscait riscait requested a review from a team as a code owner May 31, 2025 09:14
@riscait riscait requested review from k-nkmr and removed request for a team May 31, 2025 09:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a formatter setting to preserve trailing commas in the Altive lints configuration.

  • Adds a formatter section with trailing_commas: preserve to the YAML config.
Comments suppressed due to low confidence (1)

packages/altive_lints/lib/altive_lints.yaml:15

  • Add or update tests to verify that the trailing_commas: preserve setting is honored by the formatter.
trailing_commas: preserve


formatter:
# The default setting conflicts with require_trailing_commas.
trailing_commas: preserve
Copy link

Copilot AI May 31, 2025

Choose a reason for hiding this comment

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

Consider adding or updating README or inline comments to explain the new formatter section and its effect on code formatting.

Copilot uses AI. Check for mistakes.
@riscait riscait force-pushed the preserve-trailing_commas branch from f5e2e5a to 2538fc9 Compare May 31, 2025 09:15
@riscait riscait merged commit 12d0563 into main May 31, 2025
1 check passed
@riscait riscait deleted the preserve-trailing_commas branch May 31, 2025 09:19
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