@haltcase/style 7.1.0 → 7.2.0-canary.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/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.2",
|
|
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",
|
|
@@ -106,6 +110,7 @@
|
|
|
106
110
|
"stylelint-config-clean-order": "^7.0.0",
|
|
107
111
|
"stylelint-config-html": "^1.1.0",
|
|
108
112
|
"stylelint-config-standard": "^37.0.0",
|
|
113
|
+
"stylelint-config-tailwindcss": "^1.0.0",
|
|
109
114
|
"stylelint-define-config": "^16.14.1",
|
|
110
115
|
"typescript-eslint": "^8.24.0"
|
|
111
116
|
},
|
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)
|