-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path.oxfmtrc.jsonc
More file actions
63 lines (62 loc) · 2.02 KB
/
.oxfmtrc.jsonc
File metadata and controls
63 lines (62 loc) · 2.02 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"printWidth": 80,
"singleQuote": false,
"semi": true,
"useTabs": true,
"trailingComma": "es5",
"sortImports": {
"groups": ["builtin", "external", "parent", "sibling", "index", "type"],
"newlinesBetween": false,
},
"sortTailwindcss": {},
"sortPackageJson": {},
"overrides": [
{
"files": ["packages/vite-plugin-cloudflare/README.md"],
"options": {
"useTabs": false,
"trailingComma": "all",
},
},
{
"files": [".changeset/*.md"],
"options": {
"proseWrap": "never",
},
},
{
"files": ["packages/local-explorer-ui/**/*.{js,jsx,ts,tsx}"],
"options": {
"sortTailwindcss": {
"stylesheet": "./packages/local-explorer-ui/src/styles/tailwind.css",
"functions": ["cn"],
},
},
},
],
"ignorePatterns": [
"CHANGELOG.md",
// In the C3 templates, in particular framework templates, we want to be able to
// use any format that the framework authors prefer/use in their own templates,
// so let's ignore all the c3 template files, exlcuding the c3.ts ones, and tests
"packages/create-cloudflare/templates*/**/*.*",
"!packages/create-cloudflare/templates*/**/c3.ts",
"!packages/create-cloudflare/templates*/**/test/**/*.ts",
"!packages/create-cloudflare/templates*/**/test/**/*.js",
// Format the hello-world template (negate previous exclusion above) for best practices, since we control these
// but still exclude the worker-configuration.d.ts file, since it's generated
"!packages/create-cloudflare/templates*/hello-world/**/*.*",
"packages/create-cloudflare/templates*/hello-world/**/worker-configuration.d.ts",
"packages/vitest-pool-workers/scripts/rtti/rtti.js",
"packages/vite-plugin-cloudflare/playground/prisma/src/generated",
"dist-functions",
"vscode.d.ts",
"vscode.*.d.ts",
".e2e-logs*",
".github/pull_request_template.md",
"fixtures/interactive-dev-tests/src/startup-error.ts",
"packages/vite-plugin-cloudflare/playground/**/*.d.ts",
"packages/local-explorer-ui/src/routeTree.gen.ts",
"packages/local-explorer-ui/src/api/generated",
],
}