Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit c9fb478

Browse files
committed
fmt
1 parent a18281b commit c9fb478

File tree

24 files changed

+1415
-1158
lines changed

24 files changed

+1415
-1158
lines changed

.github/renovate.json

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

.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+
}

.trunk/configs/cspell.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"version": "0.2",
3-
"language": "en",
4-
"words": [
5-
"acifani",
6-
"commandsstop",
7-
"Hypermode",
8-
"hypermodeinc",
9-
"oclif",
10-
"pjson",
11-
"postpack",
12-
"sindresorhus",
13-
"tinygo",
14-
"tocstop",
15-
"tseslint",
16-
"usagestop"
17-
]
2+
"version": "0.2",
3+
"language": "en",
4+
"words": [
5+
"acifani",
6+
"commandsstop",
7+
"Hypermode",
8+
"hypermodeinc",
9+
"oclif",
10+
"pjson",
11+
"postpack",
12+
"sindresorhus",
13+
"tinygo",
14+
"tocstop",
15+
"tseslint",
16+
"usagestop"
17+
]
1818
}

.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/launch.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"type": "node",
6-
"request": "attach",
7-
"name": "Attach",
8-
"port": 9229,
9-
"skipFiles": ["<node_internals>/**"]
10-
},
11-
{
12-
"type": "node",
13-
"request": "launch",
14-
"name": "Execute Command",
15-
"skipFiles": ["<node_internals>/**"],
16-
"runtimeExecutable": "node",
17-
"runtimeArgs": [
18-
"--loader",
19-
"ts-node/esm",
20-
"--no-warnings=ExperimentalWarning"
21-
],
22-
"program": "${workspaceFolder}/bin/dev.js",
23-
"args": ["hello", "world"]
24-
}
25-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Attach",
8+
"port": 9229,
9+
"skipFiles": ["<node_internals>/**"]
10+
},
11+
{
12+
"type": "node",
13+
"request": "launch",
14+
"name": "Execute Command",
15+
"skipFiles": ["<node_internals>/**"],
16+
"runtimeExecutable": "node",
17+
"runtimeArgs": [
18+
"--loader",
19+
"ts-node/esm",
20+
"--no-warnings=ExperimentalWarning"
21+
],
22+
"program": "${workspaceFolder}/bin/dev.js",
23+
"args": ["hello", "world"]
24+
}
25+
]
2626
}

.vscode/settings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"editor.formatOnSave": true,
3-
"editor.defaultFormatter": "trunk.io",
4-
"editor.trimAutoWhitespace": true,
5-
"trunk.autoInit": false,
6-
"[typescript]": {
7-
"editor.defaultFormatter": "esbenp.prettier-vscode"
8-
}
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "trunk.io",
4+
"editor.trimAutoWhitespace": true,
5+
"trunk.autoInit": false,
6+
"[typescript]": {
7+
"editor.defaultFormatter": "esbenp.prettier-vscode"
8+
}
99
}

bin/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env -S node --loader ts-node/esm --no-warnings --disable-warning=ExperimentalWarning
22

3-
import { execute } from "@oclif/core";
3+
import { execute } from '@oclif/core'
44

5-
await execute({ development: true, dir: import.meta.url });
5+
await execute({ development: true, dir: import.meta.url })

0 commit comments

Comments
 (0)