@dvashim/biome-config 1.0.7 → 1.0.9
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 +33 -0
- package/{biome.all.recommended.json → dist/biome.recommended.json} +2 -5
- package/{biome.react.recommended.json → dist/react/biome.react-recommended.json} +2 -5
- package/{biome.react.strict.json → dist/react/biome.react-strict.json} +2 -5
- package/package.json +12 -13
- package/biome.json +0 -15
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @dvashim/biome-config
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
To install this package, you can use npm or yarn:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @dvashim/biome-config
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Recommended config
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"extends": ["@dvashim/biome-config"]
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### React configs
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"extends": ["@dvashim/biome-config/react/recommended"]
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
or
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"extends": ["@dvashim/biome-config/react/strict"]
|
|
32
|
+
}
|
|
33
|
+
```
|
|
@@ -20,10 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
|
|
22
22
|
"files": {
|
|
23
|
-
"includes": [
|
|
24
|
-
"**",
|
|
25
|
-
"!!**/dist"
|
|
26
|
-
]
|
|
23
|
+
"includes": ["**", "!!**/dist"]
|
|
27
24
|
},
|
|
28
25
|
|
|
29
26
|
"formatter": {
|
|
@@ -66,7 +63,7 @@
|
|
|
66
63
|
"allowTrailingCommas": true
|
|
67
64
|
},
|
|
68
65
|
"formatter": {
|
|
69
|
-
"expand": "
|
|
66
|
+
"expand": "auto"
|
|
70
67
|
}
|
|
71
68
|
},
|
|
72
69
|
|
|
@@ -23,10 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
|
|
25
25
|
"files": {
|
|
26
|
-
"includes": [
|
|
27
|
-
"**",
|
|
28
|
-
"!!**/dist"
|
|
29
|
-
]
|
|
26
|
+
"includes": ["**", "!!**/dist"]
|
|
30
27
|
},
|
|
31
28
|
|
|
32
29
|
"formatter": {
|
|
@@ -69,7 +66,7 @@
|
|
|
69
66
|
"allowTrailingCommas": true
|
|
70
67
|
},
|
|
71
68
|
"formatter": {
|
|
72
|
-
"expand": "
|
|
69
|
+
"expand": "auto"
|
|
73
70
|
}
|
|
74
71
|
},
|
|
75
72
|
|
|
@@ -215,10 +215,7 @@
|
|
|
215
215
|
},
|
|
216
216
|
|
|
217
217
|
"files": {
|
|
218
|
-
"includes": [
|
|
219
|
-
"**",
|
|
220
|
-
"!!**/dist"
|
|
221
|
-
]
|
|
218
|
+
"includes": ["**", "!!**/dist"]
|
|
222
219
|
},
|
|
223
220
|
|
|
224
221
|
"formatter": {
|
|
@@ -261,7 +258,7 @@
|
|
|
261
258
|
"allowTrailingCommas": true
|
|
262
259
|
},
|
|
263
260
|
"formatter": {
|
|
264
|
-
"expand": "
|
|
261
|
+
"expand": "auto"
|
|
265
262
|
}
|
|
266
263
|
},
|
|
267
264
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvashim/biome-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Shared Biome Configurations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
"
|
|
8
|
-
"./
|
|
9
|
-
"./react
|
|
7
|
+
".": "./dist/biome.recommended.json",
|
|
8
|
+
"./recommended": "./dist/biome.recommended.json",
|
|
9
|
+
"./react/*": "./dist/react/biome.react-*.json"
|
|
10
10
|
},
|
|
11
|
-
"main": "./biome.all.recommended.json",
|
|
12
11
|
"files": [
|
|
13
|
-
"
|
|
12
|
+
"dist/**/*.json"
|
|
14
13
|
],
|
|
15
14
|
"keywords": [
|
|
16
15
|
"biome",
|
|
@@ -22,14 +21,12 @@
|
|
|
22
21
|
"name": "Aleksei Reznichenko",
|
|
23
22
|
"email": "aleksei@dvashim.dev"
|
|
24
23
|
},
|
|
25
|
-
"license": "
|
|
24
|
+
"license": "MIT",
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"@biomejs/biome": "^2.3.
|
|
26
|
+
"@biomejs/biome": "^2.3.12",
|
|
28
27
|
"@changesets/changelog-github": "^0.5.2",
|
|
29
|
-
"@changesets/cli": "^2.29.8"
|
|
30
|
-
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"@biomejs/biome": "^2.3.11"
|
|
28
|
+
"@changesets/cli": "^2.29.8",
|
|
29
|
+
"validate-package-exports": "^0.15.0"
|
|
33
30
|
},
|
|
34
31
|
"repository": {
|
|
35
32
|
"type": "git",
|
|
@@ -39,7 +36,9 @@
|
|
|
39
36
|
"access": "public"
|
|
40
37
|
},
|
|
41
38
|
"scripts": {
|
|
42
|
-
"
|
|
39
|
+
"test:format": "biome format .",
|
|
40
|
+
"test:exports": "validate-package-exports --check --verify",
|
|
41
|
+
"test": "pnpm run \"/^test:.*/\"",
|
|
43
42
|
"changeset": "changeset",
|
|
44
43
|
"changeset:version": "changeset version",
|
|
45
44
|
"changeset:publish": "changeset publish"
|
package/biome.json
DELETED