@kcconfigs/biome 0.2.1 → 1.0.0-beta.1

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 CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0-beta.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.2.2...@kcconfigs/biome+v1.0.0-beta.1) (2026-03-20)
4
+
5
+
6
+ ### Documentation
7
+
8
+ * fix generated changelog have wrong issue repository link ([29da8b4](https://github.com/kc-workspace/kcws/commit/29da8b42cc6e65a5fae3d82c5019ca1218d6b2ee))
9
+ * **kcconfigs/biome:** add FIXME note regarding unresolved module issue ([f848cb9](https://github.com/kc-workspace/kcws/commit/f848cb9dd05eee2f16cc27b5ea6f616d59332988))
10
+
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * **kcconfigs/biome:** force update v0.2.2 => v1.0.0-beta.1 ([1103936](https://github.com/kc-workspace/kcws/commit/11039368f188407692effb6ea5f3041b28b58fdb))
15
+
16
+ ## [0.2.2](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.2.1...@kcconfigs/biome+v0.2.2) (2026-03-18)
17
+
18
+
19
+ ### Features
20
+
21
+ * **kcconfigs/biome:** add new preset for Svelte ([481a767](https://github.com/kc-workspace/kcws/commit/481a7677e2b3a2a905be72e8e54ef0a74a68e2ca))
22
+ * **kcconfigs/biome:** restructure presets and add features support ([79657d6](https://github.com/kc-workspace/kcws/commit/79657d6b37da47cbecd062ef10c9a42f3f99d873))
23
+
24
+
25
+ ### Performance Improvements
26
+
27
+ * **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))
28
+
29
+
30
+ ### Bugfixes
31
+
32
+ * **kcconfigs/biome:** use exact file instead of glob (mitigate biomejs/biome#9370) for now ([0112559](https://github.com/kc-workspace/kcws/commit/0112559d88599891ece777979f05c2327d3d72da))
33
+
34
+
35
+ ### Documentation
36
+
37
+ * **kcconfigs/biome:** update invalid link ([87c4431](https://github.com/kc-workspace/kcws/commit/87c44319756f7e6bfd412d438b8d8009bd8758df))
38
+
3
39
  ## [0.2.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.2.0...@kcconfigs/biome+v0.2.1) (2026-01-13)
4
40
 
5
41
 
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.3.10/schema.json",
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/biome.default.json) for the full list.
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.3.10/schema.json",
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 (FIXME: biomejs/biome#9370).
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.1",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "Shared biome configuration",
5
5
  "devDependencies": {
6
- "@biomejs/biome": "2.3.10"
6
+ "@biomejs/biome": "2.4.6"
7
7
  },
8
8
  "peerDependencies": {
9
9
  "@biomejs/biome": "^2.0.0"
10
10
  },
11
- "main": "./src/biome.default.json",
11
+ "main": "./src/presets/default.json",
12
12
  "exports": {
13
- ".": "./src/biome.default.json",
14
- "./base": "./src/biome.base.json"
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,6 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3
- "root": false,
2
+ "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
4
3
  "vcs": {
5
4
  "enabled": true,
6
5
  "clientKind": "git",
@@ -1,9 +1,10 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3
- "extends": ["./biome.base.json"],
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
+ }
@@ -1,4 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3
- "extends": ["./base/biome.json"]
4
- }