-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Expand file tree
/
Copy path.oxfmtrc.json
More file actions
120 lines (120 loc) · 3.09 KB
/
.oxfmtrc.json
File metadata and controls
120 lines (120 loc) · 3.09 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"sortImports": {
"newlinesBetween": true,
"customGroups": [
{
"groupName": "react-side-effect-style",
"selector": "side_effect_style",
"elementNamePattern": ["react", "react-*", "react-*/**"]
},
{
"groupName": "react-side-effect",
"selector": "side_effect",
"elementNamePattern": ["react", "react-*", "react-*/**"]
},
{
"groupName": "react",
"selector": "external",
"elementNamePattern": ["react", "react-*", "react-*/**"]
},
{
"groupName": "test-utils",
"selector": "external",
"elementNamePattern": [
"sentry-test",
"sentry-test/**",
"getsentry-test",
"getsentry-test/**"
]
},
{
"groupName": "sentry-assets",
"selector": "external",
"elementNamePattern": [
"sentry-locale",
"sentry-locale/**",
"sentry-images",
"sentry-images/**"
]
},
{
"groupName": "scraps",
"selector": "external",
"elementNamePattern": ["@sentry/scraps", "@sentry/scraps/**"]
},
{
"groupName": "app-internal",
"selector": "external",
"elementNamePattern": ["app", "app/**", "sentry", "sentry/**"]
},
{
"groupName": "getsentry",
"selector": "external",
"elementNamePattern": ["admin", "admin/**", "getsentry", "getsentry/**"]
},
{
"groupName": "deep-sibling-side-effect",
"selector": "side_effect",
"elementNamePattern": ["./*/**"]
},
{
"groupName": "deep-sibling",
"selector": "sibling",
"elementNamePattern": ["./*/**"]
},
{
"groupName": "explicit-index",
"selector": "index",
"elementNamePattern": ["./index", "./index.*"]
}
],
"groups": [
["side_effect", "react-side-effect", "deep-sibling-side-effect"],
["side_effect_style", "react-side-effect-style"],
"builtin",
"react",
{"newlinesBetween": false},
"external",
"test-utils",
"sentry-assets",
"scraps",
"app-internal",
"getsentry",
"style",
"parent",
"deep-sibling",
{"newlinesBetween": false},
["sibling", "subpath", "explicit-index"],
{"newlinesBetween": false},
"index",
"unknown"
]
},
"bracketSpacing": false,
"bracketSameLine": false,
"printWidth": 90,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"arrowParens": "avoid",
"sortPackageJson": true,
"ignorePatterns": [
".devenv/bin/**/*",
"src/**/templates/**/*.html",
"**/*.min.js",
"tests/**/fixtures/**/*",
"tests/relay_integration/**/*",
"!tests/js/**/*",
"fixtures/**/*",
"pnpm-lock.yaml",
"src/sentry/templates/sentry/integrations/**/*.css",
"src/sentry/data/**/*.json",
"src/sentry/issues/event.schema.json",
"api-docs/**/*.json",
".vscode/**",
"static/app/data/world.json",
"tests/sentry/grouping/**/*.json"
]
}