@seayoo-web/scripts 1.2.1 → 1.2.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/index.js CHANGED
@@ -236,7 +236,14 @@ const stylelintConfig = {
236
236
  customSyntax: "postcss-html"
237
237
  }
238
238
  ],
239
- rules: {}
239
+ rules: {
240
+ "selector-pseudo-class-no-unknown": [
241
+ true,
242
+ {
243
+ ignorePseudoClasses: ["deep", "global"]
244
+ }
245
+ ]
246
+ }
240
247
  };
241
248
  export {
242
249
  EnvPrefix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "scripts for seayoo web monorepos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -7,5 +7,9 @@ export declare const stylelintConfig: {
7
7
  files: string[];
8
8
  customSyntax: string;
9
9
  }[];
10
- rules: {};
10
+ rules: {
11
+ "selector-pseudo-class-no-unknown": (boolean | {
12
+ ignorePseudoClasses: string[];
13
+ })[];
14
+ };
11
15
  };
@@ -1,7 +0,0 @@
1
- import type { AcceptedPlugin } from "postcss";
2
- /**
3
- * postcss 配置,增加 nesting 插件支持
4
- */
5
- export declare const postcssConfig: {
6
- plugins: AcceptedPlugin[];
7
- };