@area44/biome-config 2.0.1 → 2.2.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/biome.jsonc +3 -73
- package/package.json +24 -9
package/biome.jsonc
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
3
|
-
"
|
|
4
|
-
"clientKind": "git",
|
|
5
|
-
"enabled": true,
|
|
6
|
-
"useIgnoreFile": true
|
|
7
|
-
},
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
|
+
"extends": ["ultracite"],
|
|
8
4
|
"files": {
|
|
9
5
|
"includes": [
|
|
10
|
-
"**",
|
|
11
6
|
"!**/*.min.css",
|
|
12
7
|
"!**/*.min.js",
|
|
13
8
|
"!**/node_modules/",
|
|
@@ -21,70 +16,5 @@
|
|
|
21
16
|
"!**/.netlify/",
|
|
22
17
|
"!**/.next/"
|
|
23
18
|
]
|
|
24
|
-
}
|
|
25
|
-
"formatter": {
|
|
26
|
-
"enabled": true,
|
|
27
|
-
"formatWithErrors": false,
|
|
28
|
-
"indentStyle": "space",
|
|
29
|
-
"indentWidth": 2,
|
|
30
|
-
"lineEnding": "lf",
|
|
31
|
-
"lineWidth": 80,
|
|
32
|
-
"attributePosition": "auto"
|
|
33
|
-
},
|
|
34
|
-
"assist": {
|
|
35
|
-
"actions": {
|
|
36
|
-
"source": {
|
|
37
|
-
"organizeImports": "on"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"linter": {
|
|
42
|
-
"enabled": true,
|
|
43
|
-
"rules": {
|
|
44
|
-
"recommended": true,
|
|
45
|
-
"style": {
|
|
46
|
-
"noParameterAssign": "error",
|
|
47
|
-
"useAsConstAssertion": "error",
|
|
48
|
-
"useDefaultParameterLast": "error",
|
|
49
|
-
"useEnumInitializers": "error",
|
|
50
|
-
"useSelfClosingElements": "error",
|
|
51
|
-
"useSingleVarDeclarator": "error",
|
|
52
|
-
"noUnusedTemplateLiteral": "error",
|
|
53
|
-
"useNumberNamespace": "error",
|
|
54
|
-
"noInferrableTypes": "error",
|
|
55
|
-
"noUselessElse": "error",
|
|
56
|
-
"useImportType": "off"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"html": {
|
|
61
|
-
"formatter": {
|
|
62
|
-
"enabled": true
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"javascript": {
|
|
66
|
-
"formatter": {
|
|
67
|
-
"jsxQuoteStyle": "double",
|
|
68
|
-
"quoteProperties": "asNeeded",
|
|
69
|
-
"trailingCommas": "all",
|
|
70
|
-
"semicolons": "always",
|
|
71
|
-
"arrowParentheses": "always",
|
|
72
|
-
"bracketSpacing": true,
|
|
73
|
-
"bracketSameLine": false,
|
|
74
|
-
"quoteStyle": "double"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"overrides": [
|
|
78
|
-
{
|
|
79
|
-
"includes": ["**/*.astro"],
|
|
80
|
-
"linter": {
|
|
81
|
-
"rules": {
|
|
82
|
-
"correctness": {
|
|
83
|
-
"noUnusedImports": "off",
|
|
84
|
-
"noUnusedVariables": "off"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
]
|
|
19
|
+
}
|
|
90
20
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@area44/biome-config",
|
|
3
|
-
"
|
|
4
|
-
"version": "2.0.1",
|
|
3
|
+
"version": "2.2.1",
|
|
5
4
|
"description": "AREA44's Biome configuration",
|
|
6
|
-
"author": "AREA44 (https://github.com/
|
|
5
|
+
"author": "AREA44 (https://github.com/area44)",
|
|
7
6
|
"license": "MIT",
|
|
8
|
-
"
|
|
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
|
+
},
|
|
9
16
|
"keywords": [
|
|
10
17
|
"biome",
|
|
11
|
-
"biome-config"
|
|
18
|
+
"biome-config",
|
|
19
|
+
"linter",
|
|
20
|
+
"formatter"
|
|
12
21
|
],
|
|
13
22
|
"exports": {
|
|
14
23
|
"./biome": "./biome.jsonc"
|
|
@@ -16,12 +25,18 @@
|
|
|
16
25
|
"files": [
|
|
17
26
|
"biome.jsonc"
|
|
18
27
|
],
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@biomejs/biome": "^2.0.0"
|
|
21
|
-
},
|
|
22
28
|
"scripts": {
|
|
23
29
|
"check": "biome check --write .",
|
|
24
30
|
"lint": "biome lint --write .",
|
|
25
31
|
"format": "biome format --write ."
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"ultracite": "5.0.32"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@biomejs/biome": "^2.0.6"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=22"
|
|
26
41
|
}
|
|
27
|
-
}
|
|
42
|
+
}
|