-
-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy path.oxfmtrc.json
More file actions
29 lines (29 loc) · 752 Bytes
/
.oxfmtrc.json
File metadata and controls
29 lines (29 loc) · 752 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
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"singleQuote": true,
"ignorePatterns": [
".chrome/**/*",
"**/bundle/**/*",
"**/dist/**/*",
"**/lib/**/*",
"**/node_modules/**/*",
"**/production/**/*"
// Exclude this file because `**` can be interpreted as Markdown bold/nesting and cause slow formatting (oxc issue #19929).
// If formatted as list the problems are gone
// "packages/examples/resources/clangd/clangd-include.files.md"
],
"endOfLine": "lf",
"trailingComma": "none",
"insertFinalNewline": true,
"sortPackageJson": true,
"tabWidth": 2,
"printWidth": 140,
"overrides": [
{
"files": ["*.json"],
"options": {
"printWidth": 80
}
}
]
}