@haltcase/style 7.1.0 → 7.2.0-canary.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/dist/types/stylelint/tailwind.d.ts +2 -0
- package/package.json +6 -1
- package/readme.md +15 -0
- package/stylelint/tailwind.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haltcase/style",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-canary.1",
|
|
4
4
|
"description": "haltcase's web ecosystem style guide & configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"types": "./dist/types/stylelint/standard.d.ts",
|
|
48
48
|
"default": "./stylelint/standard.js"
|
|
49
49
|
},
|
|
50
|
+
"./stylelint/tailwind": {
|
|
51
|
+
"types": "./dist/types/stylelint/tailwind.d.ts",
|
|
52
|
+
"default": "./stylelint/tailwind.js"
|
|
53
|
+
},
|
|
50
54
|
"./typescript/base": "./typescript/tsconfig.base.json",
|
|
51
55
|
"./typescript/bundler": "./typescript/tsconfig.bundler.json",
|
|
52
56
|
"./typescript/next": "./typescript/tsconfig.next.json",
|
|
@@ -131,6 +135,7 @@
|
|
|
131
135
|
"prettier": "^3.5.1",
|
|
132
136
|
"semantic-release": "^24.2.3",
|
|
133
137
|
"stylelint": "^16.14.1",
|
|
138
|
+
"stylelint-config-tailwindcss": "^1.0.0",
|
|
134
139
|
"typescript": "^5.7.3"
|
|
135
140
|
},
|
|
136
141
|
"peerDependencies": {
|
package/readme.md
CHANGED
|
@@ -351,6 +351,21 @@ convention: `standard` for kebab case and `modules` for camel case.
|
|
|
351
351
|
| `@haltcase/style/stylelint/modules` | Enforce `camelCase` identifiers. |
|
|
352
352
|
| `@haltcase/style/stylelint/standard` | Enforce conventional `kebab-case` identifiers. |
|
|
353
353
|
|
|
354
|
+
##### Tailwind
|
|
355
|
+
|
|
356
|
+
If you use Tailwind, you can additionally extend from `@haltcase/style/stylelint/tailwind`:
|
|
357
|
+
|
|
358
|
+
```json
|
|
359
|
+
{
|
|
360
|
+
"stylelint": {
|
|
361
|
+
"extends": [
|
|
362
|
+
"@haltcase/style/stylelint",
|
|
363
|
+
"@haltcase/style/stylelint/tailwind"
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
```
|
|
368
|
+
|
|
354
369
|
## contributing
|
|
355
370
|
|
|
356
371
|
Please read our [contributing](https://github.com/haltcase/style/blob/main/CONTRIBUTING.md)
|