@area44/biome-config 2.2.2 → 2.2.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/biome.jsonc +18 -31
- package/package.json +37 -37
package/biome.jsonc
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
3
|
"files": {
|
|
4
4
|
"includes": [
|
|
5
|
+
"**",
|
|
5
6
|
"!**/*.min.css",
|
|
6
7
|
"!**/*.min.js",
|
|
7
8
|
"!**/node_modules/",
|
|
@@ -29,8 +30,7 @@
|
|
|
29
30
|
"assist": {
|
|
30
31
|
"actions": {
|
|
31
32
|
"source": {
|
|
32
|
-
"organizeImports": "on"
|
|
33
|
-
"useSortedAttributes": "on"
|
|
33
|
+
"organizeImports": "on"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"rules": {
|
|
40
40
|
"recommended": true,
|
|
41
41
|
"style": {
|
|
42
|
+
"noNonNullAssertion": "off",
|
|
42
43
|
"noParameterAssign": "error",
|
|
43
44
|
"useAsConstAssertion": "error",
|
|
44
45
|
"useDefaultParameterLast": "error",
|
|
@@ -48,52 +49,38 @@
|
|
|
48
49
|
"noUnusedTemplateLiteral": "error",
|
|
49
50
|
"useNumberNamespace": "error",
|
|
50
51
|
"noInferrableTypes": "error",
|
|
51
|
-
"noUselessElse": "error"
|
|
52
|
-
"useImportType": "off"
|
|
52
|
+
"noUselessElse": "error"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
+
"html": {
|
|
57
|
+
"formatter": {
|
|
58
|
+
"enabled": true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
56
61
|
"javascript": {
|
|
57
62
|
"formatter": {
|
|
58
63
|
"arrowParentheses": "always",
|
|
59
64
|
"bracketSameLine": false,
|
|
60
65
|
"jsxQuoteStyle": "double",
|
|
61
66
|
"quoteProperties": "asNeeded",
|
|
62
|
-
"quoteStyle": "
|
|
67
|
+
"quoteStyle": "double",
|
|
63
68
|
"semicolons": "always",
|
|
64
69
|
"trailingCommas": "es5"
|
|
65
70
|
}
|
|
66
71
|
},
|
|
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
72
|
"overrides": [
|
|
90
73
|
{
|
|
91
|
-
"includes": ["**/*.astro"],
|
|
74
|
+
"includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
|
|
92
75
|
"linter": {
|
|
93
76
|
"rules": {
|
|
77
|
+
"style": {
|
|
78
|
+
"useConst": "off",
|
|
79
|
+
"useImportType": "off"
|
|
80
|
+
},
|
|
94
81
|
"correctness": {
|
|
95
|
-
"
|
|
96
|
-
"
|
|
82
|
+
"noUnusedVariables": "off",
|
|
83
|
+
"noUnusedImports": "off"
|
|
97
84
|
}
|
|
98
85
|
}
|
|
99
86
|
}
|
package/package.json
CHANGED
|
@@ -1,37 +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
|
-
"files": [
|
|
23
|
-
"biome.jsonc"
|
|
24
|
-
],
|
|
25
|
-
"main": "./biome.jsonc",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@area44/biome-config",
|
|
3
|
+
"version": "2.2.3",
|
|
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
|
+
"devDependencies": {
|
|
27
|
+
"@biomejs/biome": "^2.1.1"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=22.17.0"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"check": "biome check --write .",
|
|
34
|
+
"lint": "biome lint --write .",
|
|
35
|
+
"format": "biome format --write ."
|
|
36
|
+
}
|
|
37
|
+
}
|