@howells/lint 0.1.0 → 0.1.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/README.md +2 -0
- package/biome/core.json +5 -1
- package/biome/next.json +7 -2
- package/biome/react.json +7 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -29,6 +29,8 @@ These presets already:
|
|
|
29
29
|
- enable VCS ignore file support
|
|
30
30
|
- ignore common build output directories
|
|
31
31
|
- keep `ignoreUnknown` on so mixed repos do not need defensive local config
|
|
32
|
+
- enforce 2-space indentation consistently
|
|
33
|
+
- enable Tailwind CSS directives on DOM-oriented presets
|
|
32
34
|
|
|
33
35
|
## Usage
|
|
34
36
|
|
package/biome/core.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
|
|
3
3
|
"extends": ["ultracite/biome/core"],
|
|
4
|
+
"formatter": {
|
|
5
|
+
"indentStyle": "space",
|
|
6
|
+
"indentWidth": 2
|
|
7
|
+
},
|
|
4
8
|
"files": {
|
|
5
9
|
"ignoreUnknown": true,
|
|
6
10
|
"includes": [
|
package/biome/next.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.
|
|
3
|
-
"extends": ["./react.json", "ultracite/biome/next"]
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
|
|
3
|
+
"extends": ["./react.json", "ultracite/biome/next"],
|
|
4
|
+
"css": {
|
|
5
|
+
"parser": {
|
|
6
|
+
"tailwindDirectives": true
|
|
7
|
+
}
|
|
8
|
+
}
|
|
4
9
|
}
|
package/biome/react.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.
|
|
3
|
-
"extends": ["./core.json", "ultracite/biome/react"]
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
|
|
3
|
+
"extends": ["./core.json", "ultracite/biome/react"],
|
|
4
|
+
"css": {
|
|
5
|
+
"parser": {
|
|
6
|
+
"tailwindDirectives": true
|
|
7
|
+
}
|
|
8
|
+
}
|
|
4
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@howells/lint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Pinned Biome and Ultracite presets for Howells projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"howells-ultracite": "bin/howells-ultracite.mjs"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@biomejs/biome": "2.4.
|
|
20
|
-
"ultracite": "7.
|
|
19
|
+
"@biomejs/biome": "2.4.12",
|
|
20
|
+
"ultracite": "7.5.9"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
|
23
23
|
"./package.json": "./package.json",
|