@kcconfigs/biome 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +20 -3
- package/package.json +6 -5
- package/src/features/svelte.json +20 -0
- package/src/{base/biome.json → presets/base.json} +1 -2
- package/src/{biome.default.json → presets/default.json} +3 -2
- package/src/presets/svelte.json +24 -0
- package/src/biome.base.json +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.2](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.2.1...@kcconfigs/biome+v0.2.2) (2026-03-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **kcconfigs/biome:** add new preset for Svelte ([481a767](https://github.com/kc-workspace/kcws/commit/481a7677e2b3a2a905be72e8e54ef0a74a68e2ca))
|
|
9
|
+
* **kcconfigs/biome:** restructure presets and add features support ([79657d6](https://github.com/kc-workspace/kcws/commit/79657d6b37da47cbecd062ef10c9a42f3f99d873))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Performance Improvements
|
|
13
|
+
|
|
14
|
+
* **deps:** update biome schema version from 2.3.10 to 2.4.6 across all packages ([909ff7e](https://github.com/kc-workspace/kcws/commit/909ff7ede64869a571dac9969169067e8d4b7fbc))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bugfixes
|
|
18
|
+
|
|
19
|
+
* **kcconfigs/biome:** use exact file instead of glob (mitigate biomejs/biome[#9370](https://github.com/kc-workspace/kcws/issues/9370)) for now ([0112559](https://github.com/kc-workspace/kcws/commit/0112559d88599891ece777979f05c2327d3d72da))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
* **kcconfigs/biome:** update invalid link ([87c4431](https://github.com/kc-workspace/kcws/commit/87c44319756f7e6bfd412d438b8d8009bd8758df))
|
|
25
|
+
|
|
3
26
|
## [0.2.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.2.0...@kcconfigs/biome+v0.2.1) (2026-01-13)
|
|
4
27
|
|
|
5
28
|
|
package/README.md
CHANGED
|
@@ -8,13 +8,13 @@ Add a `biome.json` (or `biome.jsonc`) that extends the default preset:
|
|
|
8
8
|
|
|
9
9
|
```jsonc
|
|
10
10
|
{
|
|
11
|
-
"$schema": "https://biomejs.dev/schemas/2.
|
|
11
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
12
12
|
"extends": ["@kcconfigs/biome"]
|
|
13
13
|
}
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
The default preset extends the base rules and excludes generated artifacts such as `dist`, coverage, and test reports.
|
|
17
|
-
See [biome.default.json](./src/
|
|
17
|
+
See [biome.default.json](./src/presets/default.json) for the full list.
|
|
18
18
|
|
|
19
19
|
## Variants
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ Example using the base preset with custom overrides:
|
|
|
25
25
|
|
|
26
26
|
```jsonc
|
|
27
27
|
{
|
|
28
|
-
"$schema": "https://biomejs.dev/schemas/2.
|
|
28
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
29
29
|
"extends": ["@kcconfigs/biome/base"],
|
|
30
30
|
"files": { "includes": ["src/**/*.ts", "tests/**/*.ts"] },
|
|
31
31
|
"linter": {
|
|
@@ -37,3 +37,20 @@ Example using the base preset with custom overrides:
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Features
|
|
42
|
+
|
|
43
|
+
> It didn't works right now.
|
|
44
|
+
>
|
|
45
|
+
> It will always show `Could not resolve @kcconfigs/biome/features/*: module not found`
|
|
46
|
+
> even it existed
|
|
47
|
+
|
|
48
|
+
There are additional features to further customize
|
|
49
|
+
aspect of the configuration.
|
|
50
|
+
|
|
51
|
+
```jsonc
|
|
52
|
+
{
|
|
53
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
54
|
+
"extends": ["@kcconfigs/biome/base", "@kcconfigs/biome/features/svelte"]
|
|
55
|
+
}
|
|
56
|
+
```
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kcconfigs/biome",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Shared biome configuration",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@biomejs/biome": "2.
|
|
6
|
+
"@biomejs/biome": "2.4.6"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"@biomejs/biome": "^2.0.0"
|
|
10
10
|
},
|
|
11
|
-
"main": "./src/
|
|
11
|
+
"main": "./src/presets/default.json",
|
|
12
12
|
"exports": {
|
|
13
|
-
".": "./src/
|
|
14
|
-
"
|
|
13
|
+
".": "./src/presets/default.json",
|
|
14
|
+
"./*": "./src/presets/*.json",
|
|
15
|
+
"./features/svelte": "./src/features/svelte.json"
|
|
15
16
|
},
|
|
16
17
|
"license": "AGPL-3.0-only",
|
|
17
18
|
"homepage": "https://github.com/kc-workspace/kcws/tree/main/packages/@kcconfigs/biome",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
3
|
+
"overrides": [
|
|
4
|
+
{
|
|
5
|
+
"includes": ["**/*.svelte", "!build", "!build.*"],
|
|
6
|
+
"linter": {
|
|
7
|
+
"rules": {
|
|
8
|
+
"style": {
|
|
9
|
+
"useConst": "off",
|
|
10
|
+
"useImportType": "off"
|
|
11
|
+
},
|
|
12
|
+
"correctness": {
|
|
13
|
+
"noUnusedVariables": "off",
|
|
14
|
+
"noUnusedImports": "off"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.
|
|
3
|
-
"extends": ["./
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
3
|
+
"extends": ["./base.json"],
|
|
4
4
|
"files": {
|
|
5
5
|
"includes": [
|
|
6
6
|
"**",
|
|
7
|
+
"!*.tsbuildinfo",
|
|
7
8
|
"!reports/test-results",
|
|
8
9
|
"!reports/coverage",
|
|
9
10
|
"!dist",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
3
|
+
"extends": ["./base.json", "../features/svelte.json"],
|
|
4
|
+
"files": {
|
|
5
|
+
"includes": [
|
|
6
|
+
"**",
|
|
7
|
+
"!*.tsbuildinfo",
|
|
8
|
+
"!reports/test-results",
|
|
9
|
+
"!reports/coverage",
|
|
10
|
+
"!build",
|
|
11
|
+
"!build.*",
|
|
12
|
+
"!dist",
|
|
13
|
+
"!dist.*",
|
|
14
|
+
"!.*.old",
|
|
15
|
+
"!.release-please-config.json",
|
|
16
|
+
"!.github/release-please/config.json",
|
|
17
|
+
"!.release-please-manifest.json",
|
|
18
|
+
"!.github/release-please/manifest.json"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"formatter": {
|
|
22
|
+
"useEditorconfig": true
|
|
23
|
+
}
|
|
24
|
+
}
|
package/src/biome.base.json
DELETED