@darksheep/eslint 6.6.10 → 6.7.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.7.0](https://github.com/DarkSheepSoftware/eslint/compare/v6.6.10...v6.7.0) (2024-11-28)
4
+
5
+
6
+ ### 🌟 Features
7
+
8
+ * Remove custom builtins group ([94637e4](https://github.com/DarkSheepSoftware/eslint/commit/94637e41062de1a1ac2b19a412620c7b17d75ada))
9
+
3
10
  ## [6.6.10](https://github.com/DarkSheepSoftware/eslint/compare/v6.6.9...v6.6.10) (2024-11-27)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "6.6.10",
3
+ "version": "6.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DarkSheepSoftware/eslint"
@@ -48,7 +48,7 @@
48
48
  "@darksheep/eslint-formatter-github": "2.0.1",
49
49
  "@types/node": "~22.10.0",
50
50
  "eslint": "~9.15.0",
51
- "type-fest": "~4.28.0",
51
+ "type-fest": "~4.29.0",
52
52
  "typescript": "~5.7.0"
53
53
  },
54
54
  "peerDependenciesMeta": {
@@ -20,122 +20,6 @@ const groupClasses = [
20
20
  'unknown',
21
21
  ];
22
22
 
23
- const groupImports = [
24
- 'type',
25
- [ 'builtin', 'builtins' ],
26
- 'external',
27
- 'internal-type',
28
- 'internal',
29
- [ 'parent-type', 'sibling-type', 'index-type' ],
30
- [ 'parent', 'sibling', 'index' ],
31
- 'object',
32
- 'unknown',
33
- ];
34
-
35
- const builtins = [
36
- 'assert',
37
- 'assert/strict',
38
- 'async_hooks',
39
- 'buffer',
40
- 'child_process',
41
- 'cluster',
42
- 'console',
43
- 'crypto',
44
- 'dgram',
45
- 'diagnostics_channel',
46
- 'dns',
47
- 'dns/promises',
48
- 'domain',
49
- 'events',
50
- 'fs',
51
- 'fs/promises',
52
- 'http',
53
- 'http2',
54
- 'inspector',
55
- 'inspector/promises',
56
- 'module',
57
- 'net',
58
- 'os',
59
- 'path',
60
- 'path/posix',
61
- 'path/win32',
62
- 'perf_hooks',
63
- 'process',
64
- 'punycode',
65
- 'querystring',
66
- 'readline',
67
- 'readline/promises',
68
- 'stream',
69
- 'stream/consumers',
70
- 'stream/promises',
71
- 'stream/web',
72
- 'string_decoder',
73
- 'timers',
74
- 'timers/promises',
75
- 'tls',
76
- 'trace_events',
77
- 'tty',
78
- 'url',
79
- 'util',
80
- 'util/types',
81
- 'v8',
82
- 'vm',
83
- 'wasi',
84
- 'worker_threads',
85
- 'zlib',
86
-
87
- 'node:assert',
88
- 'node:assert/strict',
89
- 'node:async_hooks',
90
- 'node:buffer',
91
- 'node:child_process',
92
- 'node:cluster',
93
- 'node:console',
94
- 'node:crypto',
95
- 'node:dgram',
96
- 'node:diagnostics_channel',
97
- 'node:dns',
98
- 'node:dns/promises',
99
- 'node:events',
100
- 'node:fs',
101
- 'node:fs/promises',
102
- 'node:http',
103
- 'node:http2',
104
- 'node:inspector',
105
- 'node:inspector/promises',
106
- 'node:module',
107
- 'node:net',
108
- 'node:os',
109
- 'node:path',
110
- 'node:path/posix',
111
- 'node:path/win32',
112
- 'node:perf_hooks',
113
- 'node:process',
114
- 'node:querystring',
115
- 'node:readline',
116
- 'node:readline/promises',
117
- 'node:sea',
118
- 'node:stream',
119
- 'node:stream/consumers',
120
- 'node:stream/promises',
121
- 'node:stream/web',
122
- 'node:string_decoder',
123
- 'node:test',
124
- 'node:timers',
125
- 'node:timers/promises',
126
- 'node:tls',
127
- 'node:trace_events',
128
- 'node:tty',
129
- 'node:url',
130
- 'node:util',
131
- 'node:util/types',
132
- 'node:v8',
133
- 'node:vm',
134
- 'node:wasi',
135
- 'node:worker_threads',
136
- 'node:zlib',
137
- ];
138
-
139
23
  /** @type {import('eslint').Linter.RulesRecord} */
140
24
  const commonRules = {
141
25
  'perfectionist/sort-classes': [
@@ -166,8 +50,15 @@ const moduleRules = {
166
50
  type: 'natural',
167
51
  order: 'asc',
168
52
  newlinesBetween: 'always',
169
- groups: groupImports,
170
- customGroups: { value: { builtins } },
53
+ groups: [
54
+ [ 'builtin-type', 'builtin' ],
55
+ [ 'external-type', 'external' ],
56
+ [ 'internal-type', 'internal' ],
57
+ [ 'parent-type', 'sibling-type', 'index-type' ],
58
+ [ 'parent', 'sibling', 'index' ],
59
+ 'object',
60
+ 'unknown',
61
+ ],
171
62
  },
172
63
  ],
173
64
  'perfectionist/sort-named-exports': [