@niondigital/eslint-config-astro 2.0.2 → 4.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 +53 -0
  2. package/package.json +9 -9
package/CHANGELOG.md ADDED
@@ -0,0 +1,53 @@
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
+ # [4.0.0](https://github.com/niondigital/javascript-style/compare/v3.1.0...v4.0.0) (2026-06-16)
7
+
8
+ - 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)
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ - consumers must use ESLint 10 and TypeScript 6.
13
+
14
+ - feat!: require stylelint 17 + cssnano 8; freeze CSS property order
15
+
16
+ Bump stylelint-config to stylelint 17, stylelint-config-standard 40 and
17
+ stylelint-config-clean-order 10 (adds stylelint-order 8 as a peer), and
18
+ postcss-config to cssnano 8 and @csstools/postcss-global-data 4.
19
+
20
+ Behavior preserved: stylelint-config-standard 40 changes no rules. clean-order 10
21
+ reordered/extended its propertyGroups, which would change order/properties-order,
22
+ so the v3.x property order is now owned in stylelint-config/property-order.js and
23
+ no longer tracks clean-order. The resolved stylelint ruleset is identical to v16.
24
+
25
+ Note (not a lint rule): cssnano 8 no longer alphabetically sorts declarations, so
26
+ minified output preserves source order. CSS rendering is unchanged.
27
+
28
+ - consumers must use stylelint 17 and cssnano 8.
29
+
30
+ - build: upgrade repo tooling (lerna 9, lint-staged 17, commitlint 21)
31
+
32
+ - chore: set internal workspace peer ranges to ^4.0.0
33
+
34
+ - build: raise Node floor to 24.11, bump postcss-preset-env, extend harness
35
+
36
+ Addresses the final review:
37
+
38
+ - Raise root engines.node to >=24.11.0 (cssnano 8's engine floor; >=24.0.0 was
39
+ inaccurate). .nvmrc already resolves to a satisfying Node 24.x.
40
+ - Bump postcss-preset-env peer/dev floor ^11.1.2 -> ^11.3.1 (latest; it was the
41
+ only dependency left below its newest patch).
42
+ - Harden validate:check to also fail on untracked snapshot files.
43
+ - Add ESLint lint-output snapshots (rule firing on a violations fixture) and a
44
+ @niondigital/commitlint-config resolved-rules snapshot, closing harness gaps.
45
+
46
+ * feat(stylelint-config): adopt clean-order 10 property order
47
+
48
+ Supersedes the interim freeze: per decision, use stylelint-config-clean-order@10's
49
+ updated propertyGroups for order/properties-order (443 -> 468 properties) instead
50
+ of the frozen v3.x list. CSS property ordering changes accordingly; no other
51
+ stylelint rule changes (verified: only order/properties-order differs).
52
+
53
+ - 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/eslint-config-astro",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "4.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",
@@ -12,16 +12,16 @@
12
12
  "eslint-config"
13
13
  ],
14
14
  "peerDependencies": {
15
- "@eslint/js": "^9.37.0",
16
- "@niondigital/eslint-config-base": "^2.0.2",
17
- "@typescript-eslint/parser": "^8.46.0",
18
- "eslint": "^9.37.0",
19
- "eslint-plugin-astro": "^1.3.1",
20
- "typescript": "^5.9.3",
21
- "typescript-eslint": "^8.46.0"
15
+ "@eslint/js": "^10.0.1",
16
+ "@niondigital/eslint-config-base": "^4.0.0",
17
+ "@typescript-eslint/parser": "^8.61.1",
18
+ "eslint": "^10.5.0",
19
+ "eslint-plugin-astro": "^1.7.0",
20
+ "typescript": "^6.0.3",
21
+ "typescript-eslint": "^8.61.1"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "gitHead": "ed5c97600844e46e2938bd47bd935f46da614cd6"
26
+ "gitHead": "fb656241b0c11ce8968e662077c8a35e071fceaf"
27
27
  }