-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy path.oxfmtrc.jsonc
More file actions
36 lines (36 loc) Β· 986 Bytes
/
.oxfmtrc.jsonc
File metadata and controls
36 lines (36 loc) Β· 986 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
29
30
31
32
33
34
35
36
// Ultracite oxfmt Configuration
// https://oxc.rs/docs/guide/usage/formatter/config-file-reference.html
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"endOfLine": "lf",
"experimentalSortImports": {
"ignoreCase": true,
"newlinesBetween": false,
"order": "asc"
},
"experimentalSortPackageJson": true,
"jsxSingleQuote": false,
"printWidth": 80,
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"ignorePatterns": ["migrations/*", "*.md"],
"sortTailwindcss": {
"stylesheet": "src/styles/global.css"
},
// Keep JSON/JSONC output consistent between the CLI and VS Code, more info at https://github.com/oxc-project/oxc-vscode/issues/140
"overrides": [
{
"files": ["**/*.json", "**/*.jsonc"],
"options": {
"trailingComma": "none"
}
}
]
}