-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Expand file tree
/
Copy path.oxfmtrc.jsonc
More file actions
46 lines (46 loc) · 1.06 KB
/
.oxfmtrc.jsonc
File metadata and controls
46 lines (46 loc) · 1.06 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
43
44
45
46
// Ultracite oxfmt Configuration
// https://oxc.rs/docs/guide/usage/formatter/config-file-reference.html
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"arrowParens": "avoid",
"bracketSameLine": false,
"bracketSpacing": true,
"endOfLine": "lf",
"ignorePatterns": [
"**/*.html",
"**/*.md",
"**/*.mdx",
"**/*.mjs",
"**/__fixtures__/**",
"**/__snapshots__/**",
"**/__testfixtures__/**",
"**/tsconfig*.json",
"**/turbo.json",
"tools/tsconfig/**",
"packages/codemod/src/test/__testfixtures__/import-LanguageModelV2-from-provider-package.output.ts",
],
"jsxSingleQuote": false,
"printWidth": 80,
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"sortPackageJson": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": ["**/*.css"],
"options": {
"singleQuote": false,
},
},
{
"files": ["**/*.json5"],
"options": {
"singleQuote": false,
"trailingComma": "none",
},
},
],
}