@seayoo-web/scripts 3.1.2 → 3.1.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/dist/index.js +8 -0
- package/package.json +1 -1
- package/types/src/eslint.d.ts +1 -1
- package/types/src/stylelint.d.ts +4 -0
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",
|
|
@@ -384,12 +385,19 @@ const stylelintConfig = {
|
|
|
384
385
|
"selector-class-pattern": /^[a-z\d-_]+$/,
|
|
385
386
|
"media-feature-range-notation": "prefix",
|
|
386
387
|
"color-function-notation": "legacy",
|
|
388
|
+
"color-function-alias-notation": "with-alpha",
|
|
387
389
|
"alpha-value-notation": "number",
|
|
388
390
|
"selector-pseudo-class-no-unknown": [
|
|
389
391
|
true,
|
|
390
392
|
{
|
|
391
393
|
ignorePseudoClasses: ["deep", "global"]
|
|
392
394
|
}
|
|
395
|
+
],
|
|
396
|
+
"declaration-block-no-redundant-longhand-properties": [
|
|
397
|
+
true,
|
|
398
|
+
{
|
|
399
|
+
ignoreShorthands: ["inset"]
|
|
400
|
+
}
|
|
393
401
|
]
|
|
394
402
|
}
|
|
395
403
|
};
|
package/package.json
CHANGED
package/types/src/eslint.d.ts
CHANGED
package/types/src/stylelint.d.ts
CHANGED
|
@@ -11,9 +11,13 @@ export declare const stylelintConfig: {
|
|
|
11
11
|
"selector-class-pattern": RegExp;
|
|
12
12
|
"media-feature-range-notation": string;
|
|
13
13
|
"color-function-notation": string;
|
|
14
|
+
"color-function-alias-notation": string;
|
|
14
15
|
"alpha-value-notation": string;
|
|
15
16
|
"selector-pseudo-class-no-unknown": (boolean | {
|
|
16
17
|
ignorePseudoClasses: string[];
|
|
17
18
|
})[];
|
|
19
|
+
"declaration-block-no-redundant-longhand-properties": (boolean | {
|
|
20
|
+
ignoreShorthands: string[];
|
|
21
|
+
})[];
|
|
18
22
|
};
|
|
19
23
|
};
|