mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 04:59:51 +00:00
feat(formatters): add laravel pint as a .php formatter (#7312)
This commit is contained in:
parent
fd77d31b49
commit
bfbcbc8863
2 changed files with 16 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
|
|||
| gleam | .gleam | `gleam` command available |
|
||||
| nixfmt | .nix | `nixfmt` command available |
|
||||
| shfmt | .sh, .bash | `shfmt` command available |
|
||||
| pint | .php | `laravel/pint` dependency in `composer.json` |
|
||||
| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experimental env variable flag](/docs/cli/#experimental) |
|
||||
|
||||
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue