stylelint-config-silverwind 26.0.1 → 26.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/README.md CHANGED
@@ -2,10 +2,12 @@
2
2
  > Extensive stylelint configuration
3
3
 
4
4
  ```js
5
- /** @type {import("stylelint").Config} */
6
- export default {
5
+ // @ts-check
6
+ import {defineConfig} from "stylelint-define-config";
7
+
8
+ export default defineConfig({
7
9
  extends: "stylelint-config-silverwind",
8
- }
10
+ });
9
11
  ```
10
12
 
11
13
  © [silverwind](https://github.com/silverwind), distributed under BSD licence.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-silverwind",
3
- "version": "26.0.1",
3
+ "version": "26.0.3",
4
4
  "description": "Extensive stylelint configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/stylelint-config-silverwind",
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "eslint": "8.57.0",
24
- "eslint-config-silverwind": "97.0.0",
25
- "stylelint": "16.13.2",
26
- "stylelint-define-config": "16.14.0",
24
+ "eslint-config-silverwind": "98.0.1",
25
+ "stylelint": "16.14.1",
26
+ "stylelint-define-config": "16.14.1",
27
27
  "typescript": "5.7.3",
28
28
  "typescript-config-silverwind": "6.2.1",
29
29
  "updates": "16.4.1",
30
- "versions": "12.1.2"
30
+ "versions": "12.1.3"
31
31
  }
32
32
  }
@@ -12,7 +12,7 @@ export default defineConfig({
12
12
  overrides: [
13
13
  {files: ["**/*.html"], customSyntax: "postcss-html"},
14
14
  ],
15
- ignoreFiles: [
15
+ ignoreFiles: [ // TODO: these do not work from the shared config, likely a Stylelint bug
16
16
  "**/dist/**",
17
17
  "**/build/**",
18
18
  "**/node_modules/**",
@@ -102,7 +102,6 @@ export default defineConfig({
102
102
  "declaration-block-no-redundant-longhand-properties": [true, {ignoreShorthands: ["flex-flow", "overflow", "grid-template"]}],
103
103
  // @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
104
104
  "declaration-property-unit-disallowed-list": {"line-height": ["em"]},
105
- // @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
106
105
  "declaration-property-value-disallowed-list": {"word-break": ["break-word"]},
107
106
  "font-family-name-quotes": "always-where-recommended",
108
107
  "function-calc-no-unspaced-operator": true,