@darksheep/eslint-formatter-github 2.0.10 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [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)
|
4
|
+
|
5
|
+
|
6
|
+
### 🌟 Features
|
7
|
+
|
8
|
+
* Add "ruleId" to error lint messages ([#534](https://github.com/DarkSheepSoftware/node-packages/issues/534)) ([99b6c31](https://github.com/DarkSheepSoftware/node-packages/commit/99b6c310561d92c84a4a9f5fcfb687e184a9209f))
|
9
|
+
|
3
10
|
## [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
11
|
|
5
12
|
|
package/package.json
CHANGED
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
|
72
|
+
const message = (result.ruleId != null && result.ruleId !== '')
|
73
73
|
? `[${result.ruleId}] ${result.message}`
|
74
74
|
: result.message;
|
75
75
|
|