Skip to content

Commit 55f9ccc

Browse files
committed
fmt
1 parent 94e9947 commit 55f9ccc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5600
-5347
lines changed

.github/renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["local>hypermodeinc/renovate-config"],
4-
"rangeStrategy": "widen"
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>hypermodeinc/renovate-config"],
4+
"rangeStrategy": "widen"
55
}

.trunk/configs/.markdownlint.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"line-length": { "line_length": 150, "tables": false },
3-
"no-inline-html": false,
4-
"no-bare-urls": false,
5-
"no-space-in-emphasis": false,
6-
"no-emphasis-as-heading": false,
7-
"first-line-heading": false
2+
"line-length": { "line_length": 150, "tables": false },
3+
"no-inline-html": false,
4+
"no-bare-urls": false,
5+
"no-space-in-emphasis": false,
6+
"no-emphasis-as-heading": false,
7+
"first-line-heading": false
88
}

.trunk/configs/biome.json

Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4+
"files": {
5+
"ignoreUnknown": false,
6+
"ignore": [".cache/**/*", ".next/**/*", "node_modules/**/*"]
7+
},
8+
"formatter": {
9+
"enabled": true,
10+
"useEditorconfig": true,
11+
"formatWithErrors": false,
12+
"indentStyle": "space",
13+
"indentWidth": 2,
14+
"lineEnding": "lf",
15+
"lineWidth": 80,
16+
"attributePosition": "auto",
17+
"bracketSpacing": true
18+
},
19+
"organizeImports": {
20+
"enabled": true
21+
},
22+
"overrides": [
23+
{
24+
"include": ["**/*.tsx"],
25+
"linter": {
26+
"rules": {
27+
"style": {
28+
"useFilenamingConvention": {
29+
"level": "error",
30+
"options": {
31+
"filenameCases": ["PascalCase"]
32+
}
33+
}
34+
}
35+
}
36+
}
37+
},
38+
{
39+
"include": ["**/*.ts"],
40+
"linter": {
41+
"rules": {
42+
"style": {
43+
"useFilenamingConvention": {
44+
"level": "error",
45+
"options": {
46+
"filenameCases": ["camelCase"]
47+
}
48+
}
49+
}
50+
}
51+
}
52+
},
53+
{
54+
"include": [
55+
"**/page.tsx",
56+
"**/layout.tsx",
57+
"**/loading.tsx",
58+
"**/error.tsx",
59+
"**/not-found.tsx",
60+
"**/default.tsx",
61+
"**/route.ts",
62+
"**/middleware.ts"
63+
],
64+
"linter": {
65+
"rules": {
66+
"style": {
67+
"useFilenamingConvention": "off"
68+
}
69+
}
70+
}
71+
}
72+
],
73+
"linter": {
74+
"enabled": true,
75+
"rules": {
76+
"nursery": {
77+
"useSortedClasses": {
78+
"level": "error",
79+
"fix": "safe",
80+
"options": {
81+
"attributes": ["classList"],
82+
"functions": ["clsx", "cva", "tw", "tw.*"]
83+
}
84+
}
85+
},
86+
"recommended": false,
87+
"a11y": {
88+
"noAriaUnsupportedElements": "warn",
89+
"noBlankTarget": "error",
90+
"useAltText": "warn",
91+
"useAriaPropsForRole": "warn",
92+
"useValidAriaProps": "warn",
93+
"useValidAriaValues": "warn"
94+
},
95+
"complexity": { "noUselessTypeConstraint": "error" },
96+
"correctness": {
97+
"noChildrenProp": "error",
98+
"noConstAssign": "off",
99+
"noGlobalObjectCalls": "off",
100+
"noInvalidBuiltinInstantiation": "off",
101+
"noInvalidConstructorSuper": "off",
102+
"noNewSymbol": "off",
103+
"noSetterReturn": "off",
104+
"noUndeclaredVariables": "off",
105+
"noUnreachable": "off",
106+
"noUnreachableSuper": "off",
107+
"noUnusedVariables": "error",
108+
"useArrayLiterals": "off",
109+
"useJsxKeyInIterable": "error",
110+
"noUnusedImports": "error"
111+
},
112+
"security": { "noDangerouslySetInnerHtmlWithChildren": "error" },
113+
"style": {
114+
"noArguments": "error",
115+
"noNamespace": "error",
116+
"noVar": "error",
117+
"useAsConstAssertion": "error",
118+
"useConst": "error",
119+
"useFilenamingConvention": {
120+
"level": "error",
121+
"options": {
122+
"filenameCases": ["PascalCase", "camelCase"],
123+
"strictCase": true
124+
}
125+
}
126+
},
127+
"suspicious": {
128+
"noClassAssign": "off",
129+
"noCommentText": "error",
130+
"noDuplicateClassMembers": "off",
131+
"noDuplicateJsxProps": "error",
132+
"noDuplicateObjectKeys": "off",
133+
"noDuplicateParameters": "off",
134+
"noExplicitAny": "error",
135+
"noExtraNonNullAssertion": "error",
136+
"noFunctionAssign": "off",
137+
"noImportAssign": "off",
138+
"noMisleadingInstantiator": "error",
139+
"noRedeclare": "off",
140+
"noUnsafeDeclarationMerging": "error",
141+
"noUnsafeNegation": "off",
142+
"useGetterReturn": "off",
143+
"useNamespaceKeyword": "error"
144+
}
145+
}
146+
},
147+
"javascript": {
148+
"formatter": {
149+
"jsxQuoteStyle": "single",
150+
"quoteProperties": "asNeeded",
151+
"trailingCommas": "all",
152+
"semicolons": "asNeeded",
153+
"arrowParentheses": "always",
154+
"bracketSameLine": false,
155+
"quoteStyle": "single",
156+
"attributePosition": "auto",
157+
"bracketSpacing": true
158+
},
159+
"globals": [
160+
"ononline",
161+
"OffscreenCanvas",
162+
"onpointerleave",
163+
"onpointerenter",
164+
"onemptied",
165+
"onmouseenter",
166+
"onkeypress",
167+
"onloadeddata",
168+
"oninvalid",
169+
"onmouseup",
170+
"onvolumechange",
171+
"onpointerout",
172+
"onstorage",
173+
"onpause",
174+
"onkeyup",
175+
"onabort",
176+
"onanimationstart",
177+
"onafterprint",
178+
"onblur",
179+
"ondurationchange",
180+
"onwaiting",
181+
"ondeviceorientation",
182+
"oncanplaythrough",
183+
"onclose",
184+
"onbeforeunload",
185+
"onanimationend",
186+
"onmouseleave",
187+
"oncancel",
188+
"onseeked",
189+
"onpointerover",
190+
"ondragleave",
191+
"ongotpointercapture",
192+
"onloadedmetadata",
193+
"onpageshow",
194+
"onplay",
195+
"onunhandledrejection",
196+
"onbeforeprint",
197+
"onstalled",
198+
"oncontextmenu",
199+
"onreset",
200+
"onpointercancel",
201+
"onsubmit",
202+
"ondrag",
203+
"onload",
204+
"onlostpointercapture",
205+
"onsuspend",
206+
"ondragstart",
207+
"onpagehide",
208+
"onmessage",
209+
"location",
210+
"onoffline",
211+
"onappinstalled",
212+
"onrejectionhandled",
213+
"onunload",
214+
"onwheel",
215+
"onended",
216+
"onmousedown",
217+
"onpointerup",
218+
"onmouseover",
219+
"onkeydown",
220+
"onclick",
221+
"onfocus",
222+
"onscroll",
223+
"onresize",
224+
"onsearch",
225+
"ontoggle",
226+
"exports",
227+
"oncanplay",
228+
"onlanguagechange",
229+
"onpointerdown",
230+
"ondeviceorientationabsolute",
231+
"ondragenter",
232+
"onauxclick",
233+
"onerror",
234+
"onpointermove",
235+
"onmousemove",
236+
"ondevicemotion",
237+
"ondrop",
238+
"onhashchange",
239+
"onanimationiteration",
240+
"ondblclick",
241+
"onratechange",
242+
"ontransitionend",
243+
"ondragend",
244+
"onpopstate",
245+
"onplaying",
246+
"onchange",
247+
"onselect",
248+
"onbeforeinstallprompt",
249+
"onmouseout",
250+
"ontimeupdate",
251+
"ondragover",
252+
"oncuechange",
253+
"onprogress",
254+
"onloadstart",
255+
"onseeking",
256+
"oninput",
257+
"onmessageerror",
258+
"onmousewheel"
259+
]
260+
}
261+
}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["trunk.io"]
2+
"recommendations": ["trunk.io"]
33
}

.vscode/settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"editor.formatOnSave": true,
3-
"editor.defaultFormatter": "trunk.io",
4-
"editor.trimAutoWhitespace": true,
5-
"trunk.autoInit": false
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "trunk.io",
4+
"editor.trimAutoWhitespace": true,
5+
"trunk.autoInit": false
66
}

0 commit comments

Comments
 (0)