@tomjs/stylelint 1.0.4 → 1.0.5
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/es/index.d.ts +5 -0
- package/es/index.js +4 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
  
|
|
4
4
|
|
|
5
|
-
前端项目 [stylelint](https://stylelint.io/)
|
|
5
|
+
前端项目 [stylelint](https://stylelint.io/) 样式规范配置,推荐 `node>=16`。
|
|
6
6
|
|
|
7
7
|
## 使用说明
|
|
8
8
|
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -2,6 +2,10 @@ const index = {
|
|
|
2
2
|
plugins: ["stylelint-order", "stylelint-prettier"],
|
|
3
3
|
extends: ["stylelint-config-standard", "stylelint-config-property-sort-order-smacss"],
|
|
4
4
|
overrides: [
|
|
5
|
+
{
|
|
6
|
+
files: ["**/*.(css|html)"],
|
|
7
|
+
customSyntax: "postcss-html"
|
|
8
|
+
},
|
|
5
9
|
{
|
|
6
10
|
files: ["*.less", "**/*.less"],
|
|
7
11
|
customSyntax: "postcss-less",
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -3,6 +3,10 @@ const index = {
|
|
|
3
3
|
plugins: ["stylelint-order", "stylelint-prettier"],
|
|
4
4
|
extends: ["stylelint-config-standard", "stylelint-config-property-sort-order-smacss"],
|
|
5
5
|
overrides: [
|
|
6
|
+
{
|
|
7
|
+
files: ["**/*.(css|html)"],
|
|
8
|
+
customSyntax: "postcss-html"
|
|
9
|
+
},
|
|
6
10
|
{
|
|
7
11
|
files: ["*.less", "**/*.less"],
|
|
8
12
|
customSyntax: "postcss-less",
|