@niondigital/stylelint-config 3.1.0 → 5.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/package.json +8 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,57 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [5.0.0](https://github.com/niondigital/javascript-style/compare/v4.0.0...v5.0.0) (2026-07-14)
7
+
8
+ **Note:** Version bump only for package @niondigital/stylelint-config
9
+
10
+ # [4.0.0](https://github.com/niondigital/javascript-style/compare/v3.1.0...v4.0.0) (2026-06-16)
11
+
12
+ - feat!: upgrade all config packages to newest versions (v4.0.0) (#4) ([31ad2f0](https://github.com/niondigital/javascript-style/commit/31ad2f0b26f1c6e57a90d14bed435abbfba091c2)), closes [#4](https://github.com/niondigital/javascript-style/issues/4)
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ - consumers must use ESLint 10 and TypeScript 6.
17
+
18
+ - feat!: require stylelint 17 + cssnano 8; freeze CSS property order
19
+
20
+ Bump stylelint-config to stylelint 17, stylelint-config-standard 40 and
21
+ stylelint-config-clean-order 10 (adds stylelint-order 8 as a peer), and
22
+ postcss-config to cssnano 8 and @csstools/postcss-global-data 4.
23
+
24
+ Behavior preserved: stylelint-config-standard 40 changes no rules. clean-order 10
25
+ reordered/extended its propertyGroups, which would change order/properties-order,
26
+ so the v3.x property order is now owned in stylelint-config/property-order.js and
27
+ no longer tracks clean-order. The resolved stylelint ruleset is identical to v16.
28
+
29
+ Note (not a lint rule): cssnano 8 no longer alphabetically sorts declarations, so
30
+ minified output preserves source order. CSS rendering is unchanged.
31
+
32
+ - consumers must use stylelint 17 and cssnano 8.
33
+
34
+ - build: upgrade repo tooling (lerna 9, lint-staged 17, commitlint 21)
35
+
36
+ - chore: set internal workspace peer ranges to ^4.0.0
37
+
38
+ - build: raise Node floor to 24.11, bump postcss-preset-env, extend harness
39
+
40
+ Addresses the final review:
41
+
42
+ - Raise root engines.node to >=24.11.0 (cssnano 8's engine floor; >=24.0.0 was
43
+ inaccurate). .nvmrc already resolves to a satisfying Node 24.x.
44
+ - Bump postcss-preset-env peer/dev floor ^11.1.2 -> ^11.3.1 (latest; it was the
45
+ only dependency left below its newest patch).
46
+ - Harden validate:check to also fail on untracked snapshot files.
47
+ - Add ESLint lint-output snapshots (rule firing on a violations fixture) and a
48
+ @niondigital/commitlint-config resolved-rules snapshot, closing harness gaps.
49
+
50
+ * feat(stylelint-config): adopt clean-order 10 property order
51
+
52
+ Supersedes the interim freeze: per decision, use stylelint-config-clean-order@10's
53
+ updated propertyGroups for order/properties-order (443 -> 468 properties) instead
54
+ of the frozen v3.x list. CSS property ordering changes accordingly; no other
55
+ stylelint rule changes (verified: only order/properties-order differs).
56
+
57
+ - feat(setup): add root ESLint flat config so the repo lints its own source
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@niondigital/stylelint-config",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "5.0.0",
5
5
  "author": "Dominik Gallitzendörfer <dominik.gallitzendoerfer@nion-digital.com>",
6
6
  "main": "./config.js",
7
7
  "repository": "https://github.com/niondigital/javascript-style",
@@ -11,12 +11,13 @@
11
11
  "stylelint-config"
12
12
  ],
13
13
  "peerDependencies": {
14
- "postcss-html": "^1.8.0",
15
- "stylelint": "^16.25.0",
16
- "stylelint-config-clean-order": "^7.0.0",
14
+ "postcss-html": "^1.8.1",
15
+ "stylelint": "^17.13.0",
16
+ "stylelint-config-clean-order": "^10.0.0",
17
17
  "stylelint-config-html": "^1.1.0",
18
- "stylelint-config-standard": "^39.0.1",
19
- "stylelint-use-logical": "^2.1.2"
18
+ "stylelint-config-standard": "^40.0.0",
19
+ "stylelint-order": "^8.1.1",
20
+ "stylelint-use-logical": "^2.1.3"
20
21
  },
21
- "gitHead": "189bdd8ef1105fa32304738f3c7745945b82dbcb"
22
+ "gitHead": "0b2cf8519a4fd029222f5d70cb1f94523e1d34de"
22
23
  }