[PR #1249] [MERGED] Add grammar compatibility option to the formatter #967

Closed
opened 2025-12-30 01:28:00 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1249
Author: @stackoverflow
Created: 10/21/2025
Status: Merged
Merged: 10/28/2025
Merged by: @stackoverflow

Base: mainHead: formatter-versioning


📝 Commits (3)

  • 267958f Add grammar compatibility option to the formatter
  • 6956e04 Fix review remarks
  • 329ea79 Change grammar-version key

📊 Changes

9 files changed (+108 additions, -16 deletions)

View changed files

📝 docs/modules/pkl-cli/pages/index.adoc (+18 -0)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt (+3 -1)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt (+6 -2)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt (+3 -1)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt (+28 -2)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/commands/ProjectCommand.kt (+0 -2)
pkl-cli/src/main/kotlin/org/pkl/cli/commands/Utils.kt (+18 -0)
📝 pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt (+16 -4)
📝 pkl-formatter/src/main/kotlin/org/pkl/formatter/Formatter.kt (+16 -4)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1249 **Author:** [@stackoverflow](https://github.com/stackoverflow) **Created:** 10/21/2025 **Status:** ✅ Merged **Merged:** 10/28/2025 **Merged by:** [@stackoverflow](https://github.com/stackoverflow) **Base:** `main` ← **Head:** `formatter-versioning` --- ### 📝 Commits (3) - [`267958f`](https://github.com/apple/pkl/commit/267958f682417df90e3ba032a82ebb8ea25e9551) Add grammar compatibility option to the formatter - [`6956e04`](https://github.com/apple/pkl/commit/6956e048a886750ee9b9fcf56238be3fc270c64c) Fix review remarks - [`329ea79`](https://github.com/apple/pkl/commit/329ea795d9fe62c130e0d1fdda46fe98e3f02bfa) Change grammar-version key ### 📊 Changes **9 files changed** (+108 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/pkl-cli/pages/index.adoc` (+18 -0) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt` (+3 -1) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt` (+6 -2) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt` (+3 -1) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt` (+28 -2) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/commands/ProjectCommand.kt` (+0 -2) ➕ `pkl-cli/src/main/kotlin/org/pkl/cli/commands/Utils.kt` (+18 -0) 📝 `pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt` (+16 -4) 📝 `pkl-formatter/src/main/kotlin/org/pkl/formatter/Formatter.kt` (+16 -4) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:28:00 +01:00
adam closed this issue 2025-12-30 01:28:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#967