@bubbly-lab/biome-config 1.1.0 → 1.1.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.
Potentially problematic release.
This version of @bubbly-lab/biome-config might be problematic. Click here for more details.
- package/README.md +9 -3
- package/base.json +12 -1
- package/package.json +4 -4
- package/react.json +5 -16
package/README.md
CHANGED
|
@@ -4,12 +4,18 @@ Bubbly Lab에서 사용하는 Biome 설정입니다.
|
|
|
4
4
|
|
|
5
5
|
## 사용법
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- React/Tailwind 프로젝트: `@bubbly-lab/biome-config/react.json`을 `extends`에 추가합니다.
|
|
7
|
+
- 기본: `base` 설정을 `extends`에 추가합니다.
|
|
9
8
|
|
|
10
9
|
```json
|
|
11
10
|
{
|
|
12
|
-
"extends": ["@bubbly-lab/biome-config/
|
|
11
|
+
"extends": ["@bubbly-lab/biome-config/base"]
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
- React 프로젝트: `base`와 `react` 설정을 `extends`에 추가합니다.
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"extends": ["@bubbly-lab/biome-config/base", "@bubbly-lab/biome-config/react"]
|
|
13
19
|
}
|
|
14
20
|
```
|
|
15
21
|
|
package/base.json
CHANGED
|
@@ -38,7 +38,18 @@
|
|
|
38
38
|
"linter": {
|
|
39
39
|
"enabled": true,
|
|
40
40
|
"rules": {
|
|
41
|
-
"recommended": true
|
|
41
|
+
"recommended": true,
|
|
42
|
+
"style": {
|
|
43
|
+
"useImportType": {
|
|
44
|
+
"level": "error",
|
|
45
|
+
"options": {
|
|
46
|
+
"style": "auto"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"suspicious": {
|
|
51
|
+
"useIterableCallbackReturn": "off"
|
|
52
|
+
}
|
|
42
53
|
}
|
|
43
54
|
},
|
|
44
55
|
"javascript": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubbly-lab/biome-config",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "biome config for bubbly lab",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bubbly-lab",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"author": "@bubbly-lab/dev",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"exports": {
|
|
20
|
-
"./base
|
|
21
|
-
"./react
|
|
20
|
+
"./base": "./base.json",
|
|
21
|
+
"./react": "./react.json"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@biomejs/biome": "2.3.
|
|
24
|
+
"@biomejs/biome": "2.3.11"
|
|
25
25
|
}
|
|
26
26
|
}
|
package/react.json
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.3.6/schema.json",
|
|
3
|
-
"extends": ["./base.json"],
|
|
4
|
-
"linter": {
|
|
5
|
-
"rules": {
|
|
6
|
-
"style": {
|
|
7
|
-
"useImportType": {
|
|
8
|
-
"level": "error",
|
|
9
|
-
"options": {
|
|
10
|
-
"style": "auto"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"suspicious": {
|
|
15
|
-
"useIterableCallbackReturn": "off"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
3
|
"css": {
|
|
20
4
|
"parser": {
|
|
21
5
|
"tailwindDirectives": true
|
|
@@ -24,6 +8,11 @@
|
|
|
24
8
|
"javascript": {
|
|
25
9
|
"formatter": {
|
|
26
10
|
"jsxQuoteStyle": "single"
|
|
11
|
+
},
|
|
12
|
+
"linter": {
|
|
13
|
+
"suspicious": {
|
|
14
|
+
"noShadowRestrictedNames": "warn"
|
|
15
|
+
}
|
|
27
16
|
}
|
|
28
17
|
}
|
|
29
18
|
}
|