Skip to content

Commit d99a106

Browse files
committed
✨ feat!: switch to oxc and remove biome
1 parent d728905 commit d99a106

16 files changed

Lines changed: 299 additions & 100 deletions

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ root = true
33
[*]
44
indent_style = tab
55
indent_size = 2
6+
max_line_length = 80
67

78
end_of_line = lf
89
charset = utf-8

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun biome check --staged --no-errors-on-unmatched
1+
bun nano-staged

.nano-staged.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
"*": ["bun run fmt --check --no-error-on-unmatched-pattern"],
3+
"*.{js,jsx,ts,tsx,mjs,cjs}": ["bun run lint --no-error-on-unmatched-pattern"],
4+
};

.vscode/extensions.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"recommendations": ["editorconfig.editorconfig", "biomejs.biome"]
2+
"recommendations": [
3+
"editorconfig.editorconfig",
4+
"joshbolduc.commitlint",
5+
"oxc.oxc-vscode"
6+
]
37
}

.vscode/settings.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
"editor.insertSpaces": false,
33
"editor.tabSize": 2,
44

5-
"editor.defaultFormatter": "biomejs.biome",
6-
"editor.codeActionsOnSave": {
7-
"source.fixAll.biome": "explicit"
8-
},
5+
"oxc.enable": true,
6+
7+
"editor.defaultFormatter": "oxc.oxc-vscode",
98
"editor.formatOnSave": true,
109

1110
"js/ts.tsdk.path": "node_modules/typescript/lib"

biome.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

bun.lock

Lines changed: 162 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/biome.imports.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

config/biome.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

config/commitlint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import type { UserConfig } from "@commitlint/types";
22

33
const config: UserConfig = {
44
extends: ["@commitlint/config-conventional"],
5-
formatter: "@commitlint/format",
5+
66
defaultIgnores: true,
7+
formatter: "@commitlint/format",
78
helpUrl: "https://conventionalcommits.org",
89
};
910

0 commit comments

Comments
 (0)