@darksheep/eslint-formatter-github 2.0.10 → 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,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.0](https://github.com/DarkSheepSoftware/node-packages/compare/eslint-formatter-github-v2.1.0...eslint-formatter-github-v2.2.0) (2025-10-09)
4
+
5
+
6
+ ### 🌟 Features
7
+
8
+ * Support node 24 ([#761](https://github.com/DarkSheepSoftware/node-packages/issues/761)) ([f13caae](https://github.com/DarkSheepSoftware/node-packages/commit/f13caaef978c7a657e4599f775e0a62d1738f475))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @darksheep/github-actions bumped from 2.0.9 to 2.1.0
16
+ * @darksheep/package.json bumped from 3.0.1 to 3.1.0
17
+
18
+ ## [2.1.0](https://github.com/DarkSheepSoftware/node-packages/compare/eslint-formatter-github-v2.0.10...eslint-formatter-github-v2.1.0) (2025-01-11)
19
+
20
+
21
+ ### 🌟 Features
22
+
23
+ * Add "ruleId" to error lint messages ([#534](https://github.com/DarkSheepSoftware/node-packages/issues/534)) ([99b6c31](https://github.com/DarkSheepSoftware/node-packages/commit/99b6c310561d92c84a4a9f5fcfb687e184a9209f))
24
+
3
25
  ## [2.0.10](https://github.com/DarkSheepSoftware/node-packages/compare/eslint-formatter-github-v2.0.9...eslint-formatter-github-v2.0.10) (2024-10-21)
4
26
 
5
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint-formatter-github",
3
- "version": "2.0.10",
3
+ "version": "2.2.0",
4
4
  "description": "ESLint + Github actions",
5
5
  "license": "UNLICENCED",
6
6
  "type": "commonjs",
@@ -15,10 +15,10 @@
15
15
  "prepack": "tsc"
16
16
  },
17
17
  "dependencies": {
18
- "@darksheep/github-actions": "2.0.9",
19
- "@darksheep/package.json": "3.0.1"
18
+ "@darksheep/github-actions": "2.1.0",
19
+ "@darksheep/package.json": "3.1.0"
20
20
  },
21
21
  "engines": {
22
- "node": "^20.13.1 || ^22.2.0"
22
+ "node": "^20.13.1 || >=22.2.0"
23
23
  }
24
24
  }
package/src/index.js CHANGED
@@ -69,7 +69,7 @@ function formatFileResult(fileResult) {
69
69
  );
70
70
 
71
71
  for (const result of fileResult.messages) {
72
- const message = result.ruleId == null || result.ruleId === ''
72
+ const message = (result.ruleId != null && result.ruleId !== '')
73
73
  ? `[${result.ruleId}] ${result.message}`
74
74
  : result.message;
75
75