@kazukit/oxfmt-config
v0.0.1
Published
Shared oxfmt configuration
Downloads
227
Maintainers
Readme
@kazukit/oxfmt-config
Shared oxfmt configuration.
Install
pnpm add -D @kazukit/oxfmt-config oxfmtUsage
Create oxfmt.config.ts at your project root and re-export the shared config.
// oxfmt.config.ts
import base from "@kazukit/oxfmt-config";
import { defineConfig } from "oxfmt";
export default defineConfig({ ...base });Override or extend any field as needed:
import base from "@kazukit/oxfmt-config";
import { defineConfig } from "oxfmt";
export default defineConfig({
...base,
printWidth: 100,
});What's included
printWidth: 80trailingComma: "all"semi: truesortImports— groups imports as: side-effect →node:builtins → builtin/external → unknown → parent/sibling/index, with blank lines between groups
