@cuiqg/shared-configs 0.1.0 → 0.1.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/.vscode/settings.json +10 -2
- package/README.md +2 -2
- package/biome.json +34 -0
- package/package.json +5 -2
- package/src/biome/index.json +34 -3
- package/biome.jsonc +0 -12
package/.vscode/settings.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"editor.
|
|
2
|
+
"editor.formatOnSave": false,
|
|
3
3
|
"[javascript]": {
|
|
4
|
-
"editor.defaultFormatter": "
|
|
4
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
5
|
+
},
|
|
6
|
+
"[json]": {
|
|
7
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
8
|
+
},
|
|
9
|
+
"editor.codeActionsOnSave": {
|
|
10
|
+
"source.action.useSortedKeys.biome": "explicit",
|
|
11
|
+
"source.fixAll.biome": "explicit",
|
|
12
|
+
"source.organizeImports.biome": "explicit"
|
|
5
13
|
}
|
|
6
14
|
}
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img width="100%" src="https://github.com/user-attachments/assets/
|
|
2
|
+
<img width="100%" src="https://github.com/user-attachments/assets/22861a82-d000-4fe1-b005-d47eec6e5e80"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<details>
|
|
5
|
+
<details open>
|
|
6
6
|
<summary>biome.json</summary>
|
|
7
7
|
|
|
8
8
|
```json
|
package/biome.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
|
3
|
+
"formatter": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"indentStyle":"space",
|
|
6
|
+
"indentWidth": 2,
|
|
7
|
+
"lineEnding": "lf",
|
|
8
|
+
"useEditorconfig": true,
|
|
9
|
+
"bracketSpacing": true
|
|
10
|
+
},
|
|
11
|
+
"javascript": {
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"quoteStyle": "single"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"linter": {
|
|
18
|
+
"enabled": true
|
|
19
|
+
},
|
|
20
|
+
"assist": {
|
|
21
|
+
"enabled": true,
|
|
22
|
+
"actions": {
|
|
23
|
+
"source": {
|
|
24
|
+
"useSortedKeys": "on"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"vcs": {
|
|
29
|
+
"enabled": true,
|
|
30
|
+
"clientKind": "git",
|
|
31
|
+
"useIgnoreFile": true,
|
|
32
|
+
"defaultBranch": "main"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuiqg/shared-configs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Biome config for @cuiqg",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"build": "gulp build --prod",
|
|
16
16
|
"preinstall": "npx force-resolutions",
|
|
17
17
|
"prepublishOnly": "npm run build",
|
|
18
|
-
"release": "bumpp && npm publish"
|
|
18
|
+
"release": "bumpp && npm publish",
|
|
19
|
+
"lint": "npx @biomejs/biome lint",
|
|
20
|
+
"format": "npx @biomejs/biome format",
|
|
21
|
+
"check": "npx @biomejs/biome check --reporter=summary"
|
|
19
22
|
},
|
|
20
23
|
"devDependencies": {
|
|
21
24
|
"@biomejs/biome": "2.3.10",
|
package/src/biome/index.json
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json"
|
|
3
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
|
3
|
+
"formatter": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"indentStyle":"space",
|
|
6
|
+
"indentWidth": 2,
|
|
7
|
+
"lineEnding": "lf",
|
|
8
|
+
"useEditorconfig": true,
|
|
9
|
+
"bracketSpacing": true
|
|
10
|
+
},
|
|
11
|
+
"javascript": {
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"quoteStyle": "single"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"linter": {
|
|
18
|
+
"enabled": true
|
|
19
|
+
},
|
|
20
|
+
"assist": {
|
|
21
|
+
"enabled": true,
|
|
22
|
+
"actions": {
|
|
23
|
+
"source": {
|
|
24
|
+
"useSortedKeys": "on"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"vcs": {
|
|
29
|
+
"enabled": true,
|
|
30
|
+
"clientKind": "git",
|
|
31
|
+
"useIgnoreFile": true,
|
|
32
|
+
"defaultBranch": "main"
|
|
33
|
+
}
|
|
34
|
+
}
|