@21torr/janus 2.1.9 → 2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ 2.2.0
2
+ =====
3
+
4
+ * (feature) Require Node.js 24 in init templates.
5
+ * (improvement) Update Stylelint to v18.
6
+
7
+
8
+ 2.1.10
9
+ =====
10
+
11
+ * (bug) Add `at-rule-prelude-no-invalid` exception for SCSS `@function`/`@mixin` in `stylelint/base.config.mjs`.
12
+
13
+
1
14
  2.1.9
2
15
  =====
3
16
 
@@ -17,10 +17,10 @@
17
17
  "dprint": "^0.51.1",
18
18
  "eslint": "^9.39.2",
19
19
  "prettier-package-json": "^2.8.0",
20
- "stylelint": "^17.0.0",
20
+ "stylelint": "^18.1.0",
21
21
  "typescript": "^5.9.3"
22
22
  },
23
23
  "engines": {
24
- "node": ">=22"
24
+ "node": ">=24"
25
25
  }
26
26
  }
@@ -17,10 +17,10 @@
17
17
  "dprint": "^0.51.1",
18
18
  "eslint": "^9.39.2",
19
19
  "prettier-package-json": "^2.8.0",
20
- "stylelint": "^17.0.0",
20
+ "stylelint": "^18.1.0",
21
21
  "typescript": "^5.9.3"
22
22
  },
23
23
  "engines": {
24
- "node": ">=22"
24
+ "node": ">=24"
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@21torr/janus",
3
- "version": "2.1.9",
3
+ "version": "2.2.0",
4
4
  "description": "All config files and tools for code style tools, formatters and linters for TS / JS / SCSS / CSS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/21TORR/janus-ts",
@@ -30,15 +30,15 @@
30
30
  "kleur": "^4.1.5",
31
31
  "postcss-scss": "^4.0.9",
32
32
  "sade": "^1.8.1",
33
- "stylelint-config-standard": "^40.0.0",
34
- "stylelint-scss": "^7.0.0",
33
+ "stylelint-config-standard": "^41.1.0",
34
+ "stylelint-scss": "^7.5.0",
35
35
  "typescript-eslint": "^8.54.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "eslint": "^9.39.2",
39
39
  "prettier-package-json": "^2.8.0",
40
40
  "publint": "^0.3.17",
41
- "stylelint": "^17.0.0"
41
+ "stylelint": "^18.1.0"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
@@ -1,5 +1,3 @@
1
- console.log();
2
-
3
1
  /** @type {import("stylelint").Config} */
4
2
  export default {
5
3
  extends: [
@@ -17,6 +15,10 @@ export default {
17
15
  // Disable the rule from CSS and enable it from SCSS
18
16
  "at-rule-no-unknown": null,
19
17
  "scss/at-rule-no-unknown": true,
18
+ // "media" repeats the default from stylelint-config-recommended.
19
+ "at-rule-prelude-no-invalid": [true, {
20
+ ignoreAtRules: ["media", "function", "mixin"],
21
+ }],
20
22
  "at-rule-empty-line-before": ["always", {
21
23
  except: [
22
24
  "blockless-after-same-name-blockless",