|
@@ -30,6 +30,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
|
|
|
| ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file |
|
|
| ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file |
|
|
|
| terraform | .tf, .tfvars | `terraform` command available |
|
|
| terraform | .tf, .tfvars | `terraform` command available |
|
|
|
| gleam | .gleam | `gleam` command available |
|
|
| gleam | .gleam | `gleam` command available |
|
|
|
|
|
+| shfmt | .sh, .bash | `shfmt` command available |
|
|
|
| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experimental env variable flag](/docs/cli/#experimental) |
|
|
| 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.
|
|
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
|