Skip to content

Commit de52859

Browse files
committed
chore: use shared config
1 parent 0ef9658 commit de52859

3 files changed

Lines changed: 17 additions & 81 deletions

File tree

biome.jsonc

Lines changed: 1 addition & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,3 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
3-
4-
/**
5-
* @see {@link https://biomejs.dev/guides/integrate-in-vcs/}
6-
*/
7-
"vcs": {
8-
"enabled": true,
9-
"clientKind": "git",
10-
"useIgnoreFile": true,
11-
"defaultBranch": "main"
12-
},
13-
14-
/**
15-
* @see {@link https://biomejs.dev/assist/}
16-
*/
17-
"assist": {
18-
"actions": {
19-
"source": {
20-
"organizeImports": "on"
21-
}
22-
}
23-
},
24-
25-
/**
26-
* @see {@link https://biomejs.dev/reference/configuration/#files}
27-
*/
28-
"files": {
29-
"ignoreUnknown": true,
30-
"includes": [
31-
"**/*.js",
32-
"**/*.mjs",
33-
"**/*.cjs",
34-
35-
"**/*.json",
36-
"**/*.jsonc",
37-
38-
"**/*.ts",
39-
"**/*.mts",
40-
"**/*.cts"
41-
]
42-
},
43-
44-
/**
45-
* @see {@link https://biomejs.dev/linter/}
46-
*/
47-
"linter": {
48-
"enabled": true,
49-
"rules": {
50-
"recommended": true,
51-
"style": {
52-
"noInferrableTypes": "error",
53-
"noParameterAssign": "error",
54-
"noUnusedTemplateLiteral": "error",
55-
"useAsConstAssertion": "error",
56-
"useExportType": "error",
57-
"useDefaultParameterLast": "error",
58-
"useEnumInitializers": "error",
59-
"useNumberNamespace": "error",
60-
"useSelfClosingElements": "error",
61-
"useSingleVarDeclarator": "error"
62-
}
63-
}
64-
},
65-
66-
/**
67-
* @see {@link https://biomejs.dev/formatter/}
68-
*/
69-
"formatter": {
70-
"useEditorconfig": true
71-
},
72-
"javascript": {
73-
"formatter": {
74-
"lineWidth": 120,
75-
"quoteStyle": "single"
76-
}
77-
}
2+
"extends": ["@idleberg/configs/biome"]
783
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"scripts": {
3333
"build": "tsdown",
3434
"dev": "tsdown --watch",
35-
"lint": "biome check --no-errors-on-unmatched --vcs-enabled=true --vcs-use-ignore-file=true",
35+
"lint": "biome check",
3636
"prepack": "npm run build",
3737
"prepare": "lefthook install",
3838
"publish:jsr": "deno publish",
@@ -50,9 +50,9 @@
5050
"log-symbols": "^7.0.1"
5151
},
5252
"devDependencies": {
53-
"@biomejs/biome": "^2.2.4",
5453
"@commitlint/cli": "^19.8.1",
5554
"@commitlint/config-conventional": "^19.8.1",
55+
"@idleberg/configs": "^0.1.0",
5656
"@playwright/test": "^1.55.0",
5757
"@total-typescript/tsconfig": "^1.0.4",
5858
"@types/node": "^24.4.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)