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

Commit f781237

Browse files
committed
chore: move from ESLint to Biome
1 parent eb61e71 commit f781237

File tree

25 files changed

+1178
-2210
lines changed

25 files changed

+1178
-2210
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/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
}

.trunk/trunk.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
33
version: 0.1
44
cli:
5-
version: 1.22.11
5+
version: 1.22.12
66
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
77
plugins:
88
sources:
@@ -17,19 +17,29 @@ runtimes:
1717
1818
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
1919
lint:
20+
ignore:
21+
- linters: [prettier]
22+
paths:
23+
- "**/*.ts"
24+
- "**/*.tsx"
25+
- "**/*.js"
26+
- "**/*.jsx"
27+
- "**/*.css"
28+
- "**/*.html"
29+
- "**/*.json"
2030
enabled:
2131
2232
23-
24-
33+
2534
- git-diff-check
2635
27-
36+
2837
29-
38+
39+
3040
3141
32-
42+
3343
3444
actions:
3545
enabled:

.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 & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +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": ["--loader", "ts-node/esm", "--no-warnings=ExperimentalWarning"],
18-
"program": "${workspaceFolder}/bin/dev.js",
19-
"args": ["hello", "world"]
20-
}
21-
]
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+
]
2226
}

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ hyp link
4545

4646
## License
4747

48-
Hyp CLI is © Hypermode Inc., and licensed under the terms of the Apache License,
49-
Version 2.0. See the [LICENSE](./LICENSE) file for a complete copy of the license.
48+
Hyp CLI is © Hypermode Inc., and licensed under the terms of the Apache License, Version 2.0. See
49+
the [LICENSE](./LICENSE) file for a complete copy of the license.

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 });

bin/run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
22

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

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

0 commit comments

Comments
 (0)