@area44/biome-config 2.2.1 → 2.2.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.
- package/biome.jsonc +108 -20
- package/package.json +37 -42
package/biome.jsonc
CHANGED
|
@@ -1,20 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"!**/*.min.
|
|
7
|
-
"
|
|
8
|
-
"!**/
|
|
9
|
-
"!**/
|
|
10
|
-
"!**/
|
|
11
|
-
"!**/
|
|
12
|
-
"!**/
|
|
13
|
-
"
|
|
14
|
-
"!**/.
|
|
15
|
-
"!**/.
|
|
16
|
-
"!**/.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
|
+
"files": {
|
|
4
|
+
"includes": [
|
|
5
|
+
"!**/*.min.css",
|
|
6
|
+
"!**/*.min.js",
|
|
7
|
+
"!**/node_modules/",
|
|
8
|
+
"!**/package-lock.json",
|
|
9
|
+
"!**/pnpm-lock.yaml",
|
|
10
|
+
"!**/yarn.lock",
|
|
11
|
+
"!**/dist/",
|
|
12
|
+
"!**/out/",
|
|
13
|
+
"!**/.astro/",
|
|
14
|
+
"!**/.github/",
|
|
15
|
+
"!**/.netlify/",
|
|
16
|
+
"!**/.next/"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"formatter": {
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"formatWithErrors": true,
|
|
22
|
+
"indentStyle": "space",
|
|
23
|
+
"indentWidth": 2,
|
|
24
|
+
"lineEnding": "lf",
|
|
25
|
+
"lineWidth": 80,
|
|
26
|
+
"attributePosition": "auto",
|
|
27
|
+
"bracketSpacing": true
|
|
28
|
+
},
|
|
29
|
+
"assist": {
|
|
30
|
+
"actions": {
|
|
31
|
+
"source": {
|
|
32
|
+
"organizeImports": "on",
|
|
33
|
+
"useSortedAttributes": "on"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"linter": {
|
|
38
|
+
"enabled": true,
|
|
39
|
+
"rules": {
|
|
40
|
+
"recommended": true,
|
|
41
|
+
"style": {
|
|
42
|
+
"noParameterAssign": "error",
|
|
43
|
+
"useAsConstAssertion": "error",
|
|
44
|
+
"useDefaultParameterLast": "error",
|
|
45
|
+
"useEnumInitializers": "error",
|
|
46
|
+
"useSelfClosingElements": "error",
|
|
47
|
+
"useSingleVarDeclarator": "error",
|
|
48
|
+
"noUnusedTemplateLiteral": "error",
|
|
49
|
+
"useNumberNamespace": "error",
|
|
50
|
+
"noInferrableTypes": "error",
|
|
51
|
+
"noUselessElse": "error",
|
|
52
|
+
"useImportType": "off"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"javascript": {
|
|
57
|
+
"formatter": {
|
|
58
|
+
"arrowParentheses": "always",
|
|
59
|
+
"bracketSameLine": false,
|
|
60
|
+
"jsxQuoteStyle": "double",
|
|
61
|
+
"quoteProperties": "asNeeded",
|
|
62
|
+
"quoteStyle": "single",
|
|
63
|
+
"semicolons": "always",
|
|
64
|
+
"trailingCommas": "es5"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"css": {
|
|
68
|
+
"formatter": {
|
|
69
|
+
"quoteStyle": "double"
|
|
70
|
+
},
|
|
71
|
+
"parser": {
|
|
72
|
+
"allowWrongLineComments": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"json": {
|
|
76
|
+
"formatter": {
|
|
77
|
+
"trailingCommas": "none"
|
|
78
|
+
},
|
|
79
|
+
"parser": {
|
|
80
|
+
"allowComments": false,
|
|
81
|
+
"allowTrailingCommas": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"html": {
|
|
85
|
+
"formatter": {
|
|
86
|
+
"enabled": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"overrides": [
|
|
90
|
+
{
|
|
91
|
+
"includes": ["**/*.astro"],
|
|
92
|
+
"linter": {
|
|
93
|
+
"rules": {
|
|
94
|
+
"correctness": {
|
|
95
|
+
"noUnusedImports": "off",
|
|
96
|
+
"noUnusedVariables": "off"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"vcs": {
|
|
103
|
+
"enabled": true,
|
|
104
|
+
"clientKind": "git",
|
|
105
|
+
"useIgnoreFile": true,
|
|
106
|
+
"defaultBranch": "main"
|
|
107
|
+
}
|
|
108
|
+
}
|
package/package.json
CHANGED
|
@@ -1,42 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@area44/biome-config",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "AREA44's Biome configuration",
|
|
5
|
-
"author": "AREA44 (https://github.com/area44)",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public",
|
|
9
|
-
"registry": "https://registry.npmjs.org/"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://github.com/area44/biome-config",
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/area44/biome-config.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"biome",
|
|
18
|
-
"biome-config",
|
|
19
|
-
"linter",
|
|
20
|
-
"formatter"
|
|
21
|
-
],
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=22"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@area44/biome-config",
|
|
3
|
+
"version": "2.2.2",
|
|
4
|
+
"description": "AREA44's Biome configuration",
|
|
5
|
+
"author": "AREA44 (https://github.com/area44)",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public",
|
|
9
|
+
"registry": "https://registry.npmjs.org/"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/area44/biome-config",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/area44/biome-config.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"biome",
|
|
18
|
+
"biome-config",
|
|
19
|
+
"linter",
|
|
20
|
+
"formatter"
|
|
21
|
+
],
|
|
22
|
+
"files": [
|
|
23
|
+
"biome.jsonc"
|
|
24
|
+
],
|
|
25
|
+
"main": "./biome.jsonc",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"check": "biome check --write .",
|
|
28
|
+
"lint": "biome lint --write .",
|
|
29
|
+
"format": "biome format --write ."
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@biomejs/biome": "^2.0.6"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=22.17.0"
|
|
36
|
+
}
|
|
37
|
+
}
|