Replace prettier with oxfmt (oxc's Prettier-compatible formatter), config seeded via `oxfmt --migrate=prettier` and kept as `oxfmt.config.ts` (defineConfig default export) so settings match the old prettier.config.js. The `format` script now runs `oxfmt`; docs and the local tool allowlist updated to match.
10 lines
166 B
TypeScript
10 lines
166 B
TypeScript
import { defineConfig } from 'oxfmt';
|
|
|
|
export default defineConfig({
|
|
semi: true,
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
printWidth: 100,
|
|
tabWidth: 2,
|
|
});
|