@yuu1111/biome-config 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -10,9 +10,22 @@ bun add -D @yuu1111/biome-config
10
10
 
11
11
  ## Usage
12
12
 
13
+ ### Base
14
+
13
15
  ```json
14
16
  {
15
17
  "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
16
18
  "extends": ["@yuu1111/biome-config/biome"]
17
19
  }
18
20
  ```
21
+
22
+ ### React
23
+
24
+ CSS/Tailwind support included.
25
+
26
+ ```json
27
+ {
28
+ "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
29
+ "extends": ["@yuu1111/biome-config/react"]
30
+ }
31
+ ```
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@yuu1111/biome-config",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Shared Biome configuration",
5
5
  "license": "MIT",
6
6
  "exports": {
7
- "./biome": "./shared.json"
7
+ "./biome": "./base.json",
8
+ "./react": "./react.json"
8
9
  },
9
10
  "files": [
10
- "shared.json"
11
+ "base.json",
12
+ "react.json"
11
13
  ],
12
14
  "keywords": [
13
15
  "biome",
package/react.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
3
+ "extends": ["./base.json"],
4
+ "css": {
5
+ "formatter": {
6
+ "enabled": true
7
+ },
8
+ "linter": {
9
+ "enabled": true
10
+ },
11
+ "parser": {
12
+ "tailwindDirectives": true
13
+ }
14
+ }
15
+ }