@darksheep/eslint 6.3.0 → 6.4.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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.4.0](https://github.com/DarkSheepSoftware/eslint/compare/v6.3.1...v6.4.0) (2024-09-13)
4
+
5
+
6
+ ### 🌟 Features
7
+
8
+ * Use relative path in live logging ([#631](https://github.com/DarkSheepSoftware/eslint/issues/631)) ([ecbadd9](https://github.com/DarkSheepSoftware/eslint/commit/ecbadd9257134c0a852c1dbb74c6e67aa3c10915))
9
+
10
+
11
+ ### 📦 Dependencies
12
+
13
+ * **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))
14
+ * **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))
15
+ * **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))
16
+
17
+ ## [6.3.1](https://github.com/DarkSheepSoftware/eslint/compare/v6.3.0...v6.3.1) (2024-09-10)
18
+
19
+
20
+ ### 🩹 Fixes
21
+
22
+ * Make eslint peer dependency optional ([4c915d5](https://github.com/DarkSheepSoftware/eslint/commit/4c915d53cbac4ba3e9009acb773de0133f621850))
23
+
3
24
  ## [6.3.0](https://github.com/DarkSheepSoftware/eslint/compare/v6.2.0...v6.3.0) (2024-09-10)
4
25
 
5
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DarkSheepSoftware/eslint"
@@ -33,10 +33,10 @@
33
33
  "eslint-plugin-jsdoc": "50.2.2",
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",
@@ -52,17 +52,17 @@
52
52
  "type-fest": "~4.26.0",
53
53
  "typescript": "~5.6.0"
54
54
  },
55
- "peerDependencies": {
56
- "eslint": "~9.10.0"
57
- },
58
55
  "peerDependenciesMeta": {
56
+ "eslint": {
57
+ "optional": true
58
+ },
59
59
  "typescript": {
60
60
  "optional": true
61
61
  }
62
62
  },
63
63
  "packageManager": "yarn@4.4.1",
64
64
  "engines": {
65
- "node": "^20 || ^21 || ^22"
65
+ "node": "^20 || ^22"
66
66
  },
67
67
  "volta": {
68
68
  "node": "22.8.0",
@@ -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
 
@@ -1,2 +1,2 @@
1
- export default config;
2
- declare const config: import("eslint").Linter.FlatConfig[];
1
+ declare const _default: import("eslint").Linter.FlatConfig[];
2
+ export default _default;