@tomjs/stylelint 1.0.3 → 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 +15 -0
- package/README.md +1 -3
- 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
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @tomjs/stylelint
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Change records
|
|
8
|
+
- docs: update doc
|
|
9
|
+
- feat: update stylelint config
|
|
10
|
+
|
|
11
|
+
## 1.0.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Change records
|
|
16
|
+
- docs: 更新说明文档
|
|
17
|
+
|
|
3
18
|
## 1.0.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
  
|
|
4
4
|
|
|
5
|
-
前端项目 [stylelint](https://stylelint.io/)
|
|
6
|
-
|
|
7
|
-
**\_\_**
|
|
5
|
+
前端项目 [stylelint](https://stylelint.io/) 样式规范配置,推荐 `node>=16`。
|
|
8
6
|
|
|
9
7
|
## 使用说明
|
|
10
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",
|