@seayoo-web/scripts 3.1.1 → 3.1.4

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
@@ -359,6 +359,7 @@ const importEslintConfig = [
359
359
  flatConfigs.recommended,
360
360
  {
361
361
  rules: {
362
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
362
363
  "import/no-unresolved": "off",
363
364
  "import/named": "off",
364
365
  "import/namespace": "off",
@@ -383,11 +384,19 @@ const stylelintConfig = {
383
384
  rules: {
384
385
  "selector-class-pattern": /^[a-z\d-_]+$/,
385
386
  "media-feature-range-notation": "prefix",
387
+ "color-function-notation": "legacy",
388
+ "alpha-value-notation": "number",
386
389
  "selector-pseudo-class-no-unknown": [
387
390
  true,
388
391
  {
389
392
  ignorePseudoClasses: ["deep", "global"]
390
393
  }
394
+ ],
395
+ "declaration-block-no-redundant-longhand-properties": [
396
+ true,
397
+ {
398
+ ignoreShorthands: ["inset"]
399
+ }
391
400
  ]
392
401
  }
393
402
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "3.1.1",
3
+ "version": "3.1.4",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -10,8 +10,13 @@ export declare const stylelintConfig: {
10
10
  rules: {
11
11
  "selector-class-pattern": RegExp;
12
12
  "media-feature-range-notation": string;
13
+ "color-function-notation": string;
14
+ "alpha-value-notation": string;
13
15
  "selector-pseudo-class-no-unknown": (boolean | {
14
16
  ignorePseudoClasses: string[];
15
17
  })[];
18
+ "declaration-block-no-redundant-longhand-properties": (boolean | {
19
+ ignoreShorthands: string[];
20
+ })[];
16
21
  };
17
22
  };