-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy path.oxfmtrc.json
More file actions
42 lines (42 loc) · 1.01 KB
/
.oxfmtrc.json
File metadata and controls
42 lines (42 loc) · 1.01 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/heads/main/npm/oxfmt/configuration_schema.json",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"htmlWhitespaceSensitivity": "ignore",
"endOfLine": "lf",
"trailingComma": "all",
"ignorePatterns": [
"pnpm-lock.yaml",
"node_modules",
".turbo",
"dist",
"build",
"logs",
"coverage",
"*.md"
],
"overrides": [
{
"files": ["**/*.tsx"],
"options": {
"experimentalTailwindcss": {
"stylesheet": "./frontend/src/styles/tailwind.css",
"attributes": ["cn"],
"functions": ["cn"]
},
"experimentalSortImports": {
"groups": [
"type-import",
["value-builtin", "value-external"],
"type-internal",
"value-internal",
["type-parent", "type-sibling", "type-index"],
["value-parent", "value-sibling", "value-index"],
"unknown"
]
}
}
}
]
}