@darksheep/eslint 6.3.1 → 6.4.1

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
+ ## [6.4.1](https://github.com/DarkSheepSoftware/eslint/compare/v6.4.0...v6.4.1) (2024-09-13)
4
+
5
+
6
+ ### 📦 Dependencies
7
+
8
+ * **pkg:** update dependency eslint-plugin-jsdoc to v50.2.3 ([#632](https://github.com/DarkSheepSoftware/eslint/issues/632)) ([40bda78](https://github.com/DarkSheepSoftware/eslint/commit/40bda783b24bfea99a74005f16542809ff2c3771))
9
+ * **pkg:** update dependency eslint-plugin-unused-imports to v4.1.4 ([#633](https://github.com/DarkSheepSoftware/eslint/issues/633)) ([d50f809](https://github.com/DarkSheepSoftware/eslint/commit/d50f809d37ae90350a31c6be7c2276c6c856d94d))
10
+
11
+ ## [6.4.0](https://github.com/DarkSheepSoftware/eslint/compare/v6.3.1...v6.4.0) (2024-09-13)
12
+
13
+
14
+ ### 🌟 Features
15
+
16
+ * Use relative path in live logging ([#631](https://github.com/DarkSheepSoftware/eslint/issues/631)) ([ecbadd9](https://github.com/DarkSheepSoftware/eslint/commit/ecbadd9257134c0a852c1dbb74c6e67aa3c10915))
17
+
18
+
19
+ ### 📦 Dependencies
20
+
21
+ * **pkg:** update dependency eslint-plugin-package-json to v0.15.3 ([#629](https://github.com/DarkSheepSoftware/eslint/issues/629)) ([8c44abe](https://github.com/DarkSheepSoftware/eslint/commit/8c44abe5480eef981ad09ff3787483017f3167b6))
22
+ * **pkg:** update dependency eslint-plugin-react to v7.36.0 ([#627](https://github.com/DarkSheepSoftware/eslint/issues/627)) ([e891fbb](https://github.com/DarkSheepSoftware/eslint/commit/e891fbb35691d315a272b3cf8d58ab08fe3c2a65))
23
+ * **pkg:** update dependency eslint-plugin-react to v7.36.1 ([#630](https://github.com/DarkSheepSoftware/eslint/issues/630)) ([76451b3](https://github.com/DarkSheepSoftware/eslint/commit/76451b3cfbe648d0ab46321b5854135cacd31652))
24
+
3
25
  ## [6.3.1](https://github.com/DarkSheepSoftware/eslint/compare/v6.3.0...v6.3.1) (2024-09-10)
4
26
 
5
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "6.3.1",
3
+ "version": "6.4.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DarkSheepSoftware/eslint"
@@ -30,17 +30,17 @@
30
30
  "@typescript-eslint/eslint-plugin": "8.5.0",
31
31
  "@typescript-eslint/parser": "8.5.0",
32
32
  "editorconfig": "2.0.0",
33
- "eslint-plugin-jsdoc": "50.2.2",
33
+ "eslint-plugin-jsdoc": "50.2.3",
34
34
  "eslint-plugin-jsonc": "2.16.0",
35
35
  "eslint-plugin-n": "17.10.2",
36
- "eslint-plugin-package-json": "0.15.2",
36
+ "eslint-plugin-package-json": "0.15.3",
37
37
  "eslint-plugin-perfectionist": "3.5.0",
38
38
  "eslint-plugin-promise": "7.1.0",
39
- "eslint-plugin-react": "7.35.2",
39
+ "eslint-plugin-react": "7.36.1",
40
40
  "eslint-plugin-regexp": "2.6.0",
41
41
  "eslint-plugin-security": "3.0.1",
42
42
  "eslint-plugin-unicorn": "55.0.0",
43
- "eslint-plugin-unused-imports": "4.1.3",
43
+ "eslint-plugin-unused-imports": "4.1.4",
44
44
  "eslint-plugin-yml": "1.14.0",
45
45
  "jsonc-eslint-parser": "2.4.0",
46
46
  "yaml-eslint-parser": "1.2.3"
@@ -1,3 +1,5 @@
1
+ import { relative } from 'node:path';
2
+
1
3
  /**
2
4
  * @param {import('eslint').Linter.LintMessage[][]} files some messages
3
5
  * @returns {number}
@@ -67,7 +69,8 @@ export default {
67
69
  files.add(filename);
68
70
 
69
71
  const icon = icons[getSeverity(messages) + 1];
70
- process.stdout.write(`${icon} ${files.size} ${filename}`.trim());
72
+ const relativePath = relative(process.cwd(), filename);
73
+ process.stdout.write(`${icon} ${files.size} ${relativePath}`.trim());
71
74
  return messages.flat();
72
75
  },
73
76