forked from openstatusHQ/openstatus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxfmt.config.ts
More file actions
28 lines (27 loc) · 835 Bytes
/
Copy pathoxfmt.config.ts
File metadata and controls
28 lines (27 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { defineConfig } from "oxfmt";
// Mirrors the previous Biome formatter profile (all-defaults except width 80).
export default defineConfig({
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: false,
trailingComma: "all",
arrowParens: "always",
sortImports: true,
sortPackageJson: true,
sortTailwindcss: { functions: ["cn", "cva", "clsx"] },
ignorePatterns: [
"packages/ui/src/components/*.ts",
"packages/ui/src/components/*.tsx",
"apps/dashboard/src/scripts/*.ts",
"packages/proto/gen/**",
"**/*_pb.ts",
"**/drizzle/meta/**",
"**/.content-collections/**",
".devbox/**",
"**/*.astro",
// CSS/MD/YAML/etc deferred to a follow-up PR — keep scope to JS/TS/JSON.
"**/*.{css,scss,less,md,mdx,yaml,yml,html,graphql,gql,vue,svelte,toml}",
],
});