@wtf/project-oxfmt
Documentation / @wtf/project-oxfmt
A shared oxfmt config: 100 columns, single quotes, no semicolons and no trailing commas. It leaves
the build, the lockfile, the changelogs and a generated reference in packages/docs/api alone.
oxfmt is a peer dependency.
| Subpath | What you get |
|---|---|
./config | The config, as the default export |
import preset from '@wtf/project-oxfmt/config'import { defineConfig } from 'oxfmt'
export default defineConfig({ ...preset })See the presets guide.
oxfmt’s shared config, which a repo’s oxfmt.config.ts is, or spreads: 100 columns, single quotes, no semicolons and no trailing commas; the build, the lockfile, the changelogs and the generated reference left as they are.
