@area44/biome-config 2.2.6 → 2.3.0
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 +88 -78
- package/package.json +34 -34
package/biome.jsonc
CHANGED
|
@@ -1,78 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "
|
|
3
|
-
"files": {
|
|
4
|
-
"includes": [
|
|
5
|
-
"**",
|
|
6
|
-
"!*.min.*",
|
|
7
|
-
"!*.map",
|
|
8
|
-
"!**/public",
|
|
9
|
-
"!**/build",
|
|
10
|
-
"!**/dist",
|
|
11
|
-
"!**/out",
|
|
12
|
-
"!**/.astro",
|
|
13
|
-
"!**/.github",
|
|
14
|
-
"!**/.netlify",
|
|
15
|
-
"!**/.next"
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"vcs": {
|
|
19
|
-
"enabled": true,
|
|
20
|
-
"clientKind": "git",
|
|
21
|
-
"useIgnoreFile": true,
|
|
22
|
-
"defaultBranch": "main"
|
|
23
|
-
},
|
|
24
|
-
"linter": {
|
|
25
|
-
"rules": {
|
|
26
|
-
"style": {
|
|
27
|
-
"noNonNullAssertion": "off",
|
|
28
|
-
"useImportType": "off",
|
|
29
|
-
"noParameterAssign": "error",
|
|
30
|
-
"useAsConstAssertion": "error",
|
|
31
|
-
"useDefaultParameterLast": "error",
|
|
32
|
-
"useEnumInitializers": "error",
|
|
33
|
-
"useSelfClosingElements": "error",
|
|
34
|
-
"useSingleVarDeclarator": "error",
|
|
35
|
-
"noUnusedTemplateLiteral": "error",
|
|
36
|
-
"useNumberNamespace": "error",
|
|
37
|
-
"noInferrableTypes": "error",
|
|
38
|
-
"noUselessElse": "error"
|
|
39
|
-
},
|
|
40
|
-
"a11y": {
|
|
41
|
-
"noSvgWithoutTitle": "off"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"formatter": {
|
|
46
|
-
"formatWithErrors": true,
|
|
47
|
-
"indentStyle": "space"
|
|
48
|
-
},
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"
|
|
62
|
-
{
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
|
+
"files": {
|
|
4
|
+
"includes": [
|
|
5
|
+
"**",
|
|
6
|
+
"!*.min.*",
|
|
7
|
+
"!*.map",
|
|
8
|
+
"!**/public",
|
|
9
|
+
"!**/build",
|
|
10
|
+
"!**/dist",
|
|
11
|
+
"!**/out",
|
|
12
|
+
"!**/.astro",
|
|
13
|
+
"!**/.github",
|
|
14
|
+
"!**/.netlify",
|
|
15
|
+
"!**/.next"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"vcs": {
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"clientKind": "git",
|
|
21
|
+
"useIgnoreFile": true,
|
|
22
|
+
"defaultBranch": "main"
|
|
23
|
+
},
|
|
24
|
+
"linter": {
|
|
25
|
+
"rules": {
|
|
26
|
+
"style": {
|
|
27
|
+
"noNonNullAssertion": "off",
|
|
28
|
+
"useImportType": "off",
|
|
29
|
+
"noParameterAssign": "error",
|
|
30
|
+
"useAsConstAssertion": "error",
|
|
31
|
+
"useDefaultParameterLast": "error",
|
|
32
|
+
"useEnumInitializers": "error",
|
|
33
|
+
"useSelfClosingElements": "error",
|
|
34
|
+
"useSingleVarDeclarator": "error",
|
|
35
|
+
"noUnusedTemplateLiteral": "error",
|
|
36
|
+
"useNumberNamespace": "error",
|
|
37
|
+
"noInferrableTypes": "error",
|
|
38
|
+
"noUselessElse": "error"
|
|
39
|
+
},
|
|
40
|
+
"a11y": {
|
|
41
|
+
"noSvgWithoutTitle": "off"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"formatter": {
|
|
46
|
+
"formatWithErrors": true,
|
|
47
|
+
"indentStyle": "space"
|
|
48
|
+
},
|
|
49
|
+
"assist": {
|
|
50
|
+
"actions": {
|
|
51
|
+
"source": {
|
|
52
|
+
"organizeImports": "on"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"javascript": {
|
|
57
|
+
"formatter": {
|
|
58
|
+
"trailingCommas": "es5"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"css": {
|
|
62
|
+
"parser": {
|
|
63
|
+
"tailwindDirectives": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"html": {
|
|
67
|
+
"formatter": {
|
|
68
|
+
"indentScriptAndStyle": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"overrides": [
|
|
72
|
+
{
|
|
73
|
+
"includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
|
|
74
|
+
"linter": {
|
|
75
|
+
"rules": {
|
|
76
|
+
"style": {
|
|
77
|
+
"useConst": "off",
|
|
78
|
+
"useImportType": "off"
|
|
79
|
+
},
|
|
80
|
+
"correctness": {
|
|
81
|
+
"noUnusedVariables": "off",
|
|
82
|
+
"noUnusedImports": "off"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@area44/biome-config",
|
|
3
|
-
"version": "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.
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@area44/biome-config",
|
|
3
|
+
"version": "2.3.0",
|
|
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.3.0"
|
|
33
|
+
}
|
|
34
|
+
}
|