@seayoo-web/scripts 2.0.2 → 2.0.3

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
@@ -288,6 +288,7 @@ const stylelintConfig = {
288
288
  }
289
289
  ],
290
290
  rules: {
291
+ "selector-class-pattern": /^[a-z\d-_]+$/,
291
292
  "selector-pseudo-class-no-unknown": [
292
293
  true,
293
294
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "engines": {
28
- "node": ">= 18"
28
+ "node": ">=22"
29
29
  },
30
30
  "author": "web@seayoo.com",
31
31
  "license": "MIT",
@@ -8,6 +8,7 @@ export declare const stylelintConfig: {
8
8
  customSyntax: string;
9
9
  }[];
10
10
  rules: {
11
+ "selector-class-pattern": RegExp;
11
12
  "selector-pseudo-class-no-unknown": (boolean | {
12
13
  ignorePseudoClasses: string[];
13
14
  })[];