@isentinel/pnpm-plugin-eslint-config 7.0.0 → 7.1.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/extensions.mjs +11 -45
- package/package.json +1 -1
package/extensions.mjs
CHANGED
|
@@ -40,9 +40,11 @@
|
|
|
40
40
|
* `dependencies`.
|
|
41
41
|
* @property {string} [fixedIn] The first version to declare these itself. Later
|
|
42
42
|
* versions are left alone.
|
|
43
|
-
* @property {Array<string>} [ignore] Specifiers
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* @property {Array<string>} [ignore] Specifiers on the package's type surface
|
|
44
|
+
* accounted for without being injected, because no declaration can satisfy
|
|
45
|
+
* them (a leaked template variable, an opt-in integration). Read only by the
|
|
46
|
+
* check script; nothing is injected for them. Imports in files the entry
|
|
47
|
+
* points never reach need no entry at all: the check skips those files.
|
|
46
48
|
* @property {string} name The package to extend.
|
|
47
49
|
* @property {Record<string, string>} [peerDependencies] Declarations to add to
|
|
48
50
|
* `peerDependencies`, each marked optional.
|
|
@@ -61,23 +63,10 @@
|
|
|
61
63
|
* Which of those peers are optional.
|
|
62
64
|
* @property {string} [version] The installed version, tested against `fixedIn`.
|
|
63
65
|
*/
|
|
64
|
-
/**
|
|
65
|
-
* A tsconfig template variable that leaked into two plugins' published
|
|
66
|
-
* declarations. Unresolvable under any layout; tracked in
|
|
67
|
-
* christopher-buss/eslint-config#640.
|
|
68
|
-
*/
|
|
69
|
-
// oxlint-disable-next-line no-template-curly-in-string -- The literal text those declarations ship.
|
|
70
|
-
const LEAKED_CONFIG_DIR = "${configDir}";
|
|
71
66
|
/** The release portion of a version, up to any prerelease or build metadata. */
|
|
72
67
|
const RELEASE_SEPARATOR = /[-+]/u;
|
|
73
68
|
/** @type {ReadonlyArray<PackageExtension>} */
|
|
74
69
|
export const packageExtensions = [
|
|
75
|
-
{
|
|
76
|
-
name: "@cspell/eslint-plugin",
|
|
77
|
-
dependencies: {
|
|
78
|
-
"@types/estree": "^1",
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
70
|
{
|
|
82
71
|
name: "@e18e/eslint-plugin",
|
|
83
72
|
dependencies: {
|
|
@@ -131,7 +120,8 @@ export const packageExtensions = [
|
|
|
131
120
|
},
|
|
132
121
|
{
|
|
133
122
|
name: "editorconfig",
|
|
134
|
-
// Test declarations ship inside the tarball.
|
|
123
|
+
// Test declarations ship inside the tarball. Without an `exports` map
|
|
124
|
+
// any shipped file can be imported, so the check reads them too.
|
|
135
125
|
ignore: ["chai"],
|
|
136
126
|
},
|
|
137
127
|
{
|
|
@@ -142,23 +132,10 @@ export const packageExtensions = [
|
|
|
142
132
|
},
|
|
143
133
|
},
|
|
144
134
|
{
|
|
145
|
-
name: "eslint-plugin-
|
|
146
|
-
//
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
{
|
|
150
|
-
name: "eslint-plugin-de-morgan",
|
|
151
|
-
dependencies: {
|
|
152
|
-
"@types/estree": "^1",
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "eslint-plugin-flawless",
|
|
157
|
-
ignore: [LEAKED_CONFIG_DIR],
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: "eslint-plugin-format-lua",
|
|
161
|
-
ignore: ["eslint-define-config"],
|
|
135
|
+
name: "eslint-plugin-antfu",
|
|
136
|
+
// The 3.3.x build keeps a bare side-effect import of a dev-only type
|
|
137
|
+
// package. It binds nothing, and the target has no global augmentations.
|
|
138
|
+
ignore: ["@typescript-eslint/utils"],
|
|
162
139
|
},
|
|
163
140
|
{
|
|
164
141
|
name: "eslint-plugin-jsdoc",
|
|
@@ -185,17 +162,6 @@ export const packageExtensions = [
|
|
|
185
162
|
"@types/estree": "^1",
|
|
186
163
|
},
|
|
187
164
|
},
|
|
188
|
-
{
|
|
189
|
-
name: "eslint-plugin-perfectionist",
|
|
190
|
-
peerDependencies: {
|
|
191
|
-
"@typescript-eslint/types": "*",
|
|
192
|
-
"typescript": "*",
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "eslint-plugin-roblox-ts",
|
|
197
|
-
ignore: [LEAKED_CONFIG_DIR],
|
|
198
|
-
},
|
|
199
165
|
{
|
|
200
166
|
name: "eslint-plugin-sentinel",
|
|
201
167
|
peerDependencies: {
|
package/package.json
CHANGED