@maz-ui/stylelint-config 5.0.0 → 5.2.0

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Config as Config$1 } from 'stylelint';
1
+ import { Config } from 'stylelint';
2
2
 
3
3
  /**
4
4
  * Mirror of `@maz-ui/node`'s LogLevel — kept inline here to avoid making this
@@ -9,9 +9,9 @@ import { Config as Config$1 } from 'stylelint';
9
9
  */
10
10
  type LogLevel = 'silent' | 'error' | 'warning' | 'normal' | 'default' | 'debug' | 'trace' | 'verbose';
11
11
 
12
- type StylelintConfig = Config$1;
13
- type StylelintRules = Config$1['rules'];
14
- type StylelintOverride = NonNullable<Config$1['overrides']>[number];
12
+ type StylelintConfig = Config;
13
+ type StylelintRules = Config['rules'];
14
+ type StylelintOverride = NonNullable<Config['overrides']>[number];
15
15
  /**
16
16
  * Property order strategy.
17
17
  *
@@ -124,7 +124,7 @@ interface MazStylelintOptions {
124
124
  /**
125
125
  * Additional plugins merged on top of the resolved configuration.
126
126
  */
127
- plugins?: NonNullable<Config$1['plugins']>;
127
+ plugins?: NonNullable<Config['plugins']>;
128
128
  /**
129
129
  * Additional shareable configs to extend, appended after the built-in
130
130
  * extends so user configs win the cascade (e.g. `stylelint-config-clean-order`
@@ -170,7 +170,7 @@ declare const baseRules: StylelintRules;
170
170
  * Glob patterns Stylelint should ignore by default. Mirrors the eslint-config
171
171
  * defaults plus a few CSS-specific build outputs.
172
172
  */
173
- declare const GLOBAL_IGNORES: Config;
173
+ declare const GLOBAL_IGNORES: string[];
174
174
 
175
175
  /**
176
176
  * Flag every physical property/value that has a logical equivalent.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Config as Config$1 } from 'stylelint';
1
+ import { Config } from 'stylelint';
2
2
 
3
3
  /**
4
4
  * Mirror of `@maz-ui/node`'s LogLevel — kept inline here to avoid making this
@@ -9,9 +9,9 @@ import { Config as Config$1 } from 'stylelint';
9
9
  */
10
10
  type LogLevel = 'silent' | 'error' | 'warning' | 'normal' | 'default' | 'debug' | 'trace' | 'verbose';
11
11
 
12
- type StylelintConfig = Config$1;
13
- type StylelintRules = Config$1['rules'];
14
- type StylelintOverride = NonNullable<Config$1['overrides']>[number];
12
+ type StylelintConfig = Config;
13
+ type StylelintRules = Config['rules'];
14
+ type StylelintOverride = NonNullable<Config['overrides']>[number];
15
15
  /**
16
16
  * Property order strategy.
17
17
  *
@@ -124,7 +124,7 @@ interface MazStylelintOptions {
124
124
  /**
125
125
  * Additional plugins merged on top of the resolved configuration.
126
126
  */
127
- plugins?: NonNullable<Config$1['plugins']>;
127
+ plugins?: NonNullable<Config['plugins']>;
128
128
  /**
129
129
  * Additional shareable configs to extend, appended after the built-in
130
130
  * extends so user configs win the cascade (e.g. `stylelint-config-clean-order`
@@ -170,7 +170,7 @@ declare const baseRules: StylelintRules;
170
170
  * Glob patterns Stylelint should ignore by default. Mirrors the eslint-config
171
171
  * defaults plus a few CSS-specific build outputs.
172
172
  */
173
- declare const GLOBAL_IGNORES: Config;
173
+ declare const GLOBAL_IGNORES: string[];
174
174
 
175
175
  /**
176
176
  * Flag every physical property/value that has a logical equivalent.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maz-ui/stylelint-config",
3
3
  "type": "module",
4
- "version": "5.0.0",
4
+ "version": "5.2.0",
5
5
  "description": "Stylelint configuration for CSS, SCSS, Vue and Tailwind CSS projects",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -58,10 +58,15 @@
58
58
  "stylelint-use-logical-spec": "^5.0.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@maz-ui/eslint-config": "5.0.0",
61
+ "@maz-ui/eslint-config": "^5.0.0",
62
+ "@types/node": "^22.20.5",
62
63
  "@vitest/coverage-v8": "^5.0.5",
64
+ "cross-env": "^10.1.0",
65
+ "eslint": "^10.13.0",
63
66
  "stylelint": "^17.16.0",
64
- "unbuild": "^3.6.1"
67
+ "typescript": "^6.0.3",
68
+ "unbuild": "^3.6.1",
69
+ "vitest": "5.0.5"
65
70
  },
66
71
  "lint-staged": {
67
72
  "*.{js,jsx,ts,tsx,mjs,mts,cjs,md,yml,json}": [