@tomjs/stylelint 1.0.4 → 1.0.6

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @tomjs/stylelint
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Change records
8
+ - chore: update stylelint deps
9
+
10
+ ## 1.0.5
11
+
12
+ ### Patch Changes
13
+
14
+ - Change records
15
+ - docs: update doc
16
+ - feat: update stylelint config
17
+
3
18
  ## 1.0.4
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![npm](https://img.shields.io/npm/v/%40tomjs/stylelint) ![NPM](https://img.shields.io/npm/l/%40tomjs%2Fstylelint) ![npm package minimized gzipped size (scoped version select exports)](https://img.shields.io/bundlejs/size/%40tomjs/stylelint)
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
@@ -2,6 +2,11 @@ declare const _default: {
2
2
  plugins: string[];
3
3
  extends: string[];
4
4
  overrides: ({
5
+ files: string[];
6
+ customSyntax: string;
7
+ extends?: undefined;
8
+ rule?: undefined;
9
+ } | {
5
10
  files: string[];
6
11
  customSyntax: string;
7
12
  extends: string[];
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
@@ -2,6 +2,11 @@ declare const _default: {
2
2
  plugins: string[];
3
3
  extends: string[];
4
4
  overrides: ({
5
+ files: string[];
6
+ customSyntax: string;
7
+ extends?: undefined;
8
+ rule?: undefined;
9
+ } | {
5
10
  files: string[];
6
11
  customSyntax: string;
7
12
  extends: string[];
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomjs/stylelint",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "stylelint config for tomjs",
5
5
  "keywords": [
6
6
  "tomjs",
@@ -50,9 +50,9 @@
50
50
  "stylelint-config-property-sort-order-smacss": "^9.1.0",
51
51
  "stylelint-config-recommended-vue": "^1.5.0",
52
52
  "stylelint-config-standard": "^34.0.0",
53
- "stylelint-config-standard-scss": "^11.0.0",
53
+ "stylelint-config-standard-scss": "^11.1.0",
54
54
  "stylelint-order": "^6.0.3",
55
- "stylelint-prettier": "^4.0.2"
55
+ "stylelint-prettier": "^4.1.0"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "prettier": ">=3.0.0",