config(prettier): --config option renamed to --config-path#313
config(prettier): --config option renamed to --config-path#313jonlabelle merged 8 commits intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates SublimeJsPrettier to use Prettier’s renamed CLI option --config-path instead of --config, and refreshes user-facing documentation/release notes accordingly.
Changes:
- Switched internal config-lookup and generated CLI args from
--configto--config-path. - Updated README/default settings docs and the bug issue template to reference
--config-path. - Added 1.91.0 release notes and changelog entry for the rename.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
JsPrettier.py |
Updates config detection and emitted CLI option to --config-path. |
README.md |
Updates documentation examples and explanations to --config-path. |
JsPrettier.sublime-settings |
Updates inline settings documentation/examples to --config-path. |
CHANGELOG.md |
Adds 1.91.0 changelog entry describing the rename. |
messages/1.91.0.txt |
Adds release message for 1.91.0 describing the rename. |
messages.json |
Registers the new 1.91.0 message file. |
.github/ISSUE_TEMPLATE/bug.yml |
Updates the example Prettier command placeholder to --config-path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the SublimeJsPrettier plugin and its documentation/release notes to reflect Prettier’s CLI rename from --config to --config-path, including guidance for updating the additional_cli_args setting.
Changes:
- Switch internal config-path detection and option injection from
--configto--config-path. - Update user-facing docs/settings examples and release notes to reference
--config-path. - Update the GitHub bug report template placeholder command accordingly.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| messages/1.91.0.txt | Adds 1.91.0 release message documenting the --config → --config-path rename. |
| messages.json | Registers the new 1.91.0 message file. |
| README.md | Updates documentation and examples to use --config-path. |
| JsPrettier.sublime-settings | Updates inline settings documentation/examples to use --config-path. |
| JsPrettier.py | Updates runtime logic to detect and pass --config-path instead of --config. |
| CHANGELOG.md | Adds a 1.91.0 entry describing the rename and migration example. |
| .github/ISSUE_TEMPLATE/bug.yml | Updates the example Prettier command placeholder to --config-path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fedc330 to
1b09838
Compare
This release adds support for Prettier's
--config-pathCLI option, introduced in Prettier'sexperimental CLI (
--experimental-cli).When
--experimental-cliis present inadditional_cli_args, the plugin automatically uses--config-pathto pass the resolved config file path to Prettier. Otherwise, the classic--configflag is used. No changes to your settings are required.
Both
--configand--config-pathare accepted as keys in theadditional_cli_argssetting.