@remotion/eslint-config 3.0.0-lambda.461 → 3.0.0-lambda.467
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/dist/index.d.ts +927 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +539 -16
- package/dist/index.js.map +1 -1
- package/dist/patch-eslint.d.ts +2 -0
- package/dist/patch-eslint.d.ts.map +1 -0
- package/dist/patch-eslint.js +236 -0
- package/dist/patch-eslint.js.map +1 -0
- package/package.json +6 -9
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Taken from https://github.com/microsoft/rushstack/blob/main/eslint/eslint-patch/src/modern-module-resolution.ts
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.allowESLintShareableConfig = void 0;
|
|
8
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
9
|
+
// See LICENSE in the project root for license information.
|
|
10
|
+
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
|
11
|
+
//
|
|
12
|
+
// To correct how ESLint searches for plugin packages, add this line to the top of your project's .eslintrc.js file:
|
|
13
|
+
//
|
|
14
|
+
// require("@rushstack/eslint-patch/modern-module-resolution");
|
|
15
|
+
//
|
|
16
|
+
const path_1 = __importDefault(require("path"));
|
|
17
|
+
const fs_1 = __importDefault(require("fs"));
|
|
18
|
+
let alreadyPatched = false;
|
|
19
|
+
const allowESLintShareableConfig = () => {
|
|
20
|
+
if (alreadyPatched) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
alreadyPatched = true;
|
|
24
|
+
const isModuleResolutionError = (ex) => typeof ex === "object" &&
|
|
25
|
+
!!ex &&
|
|
26
|
+
"code" in ex &&
|
|
27
|
+
ex.code === "MODULE_NOT_FOUND";
|
|
28
|
+
// Module path for eslintrc.cjs
|
|
29
|
+
// Example: ".../@eslint/eslintrc/dist/eslintrc.cjs"
|
|
30
|
+
let eslintrcBundlePath = undefined;
|
|
31
|
+
// Module path for config-array-factory.js
|
|
32
|
+
// Example: ".../@eslint/eslintrc/lib/config-array-factory"
|
|
33
|
+
let configArrayFactoryPath = undefined;
|
|
34
|
+
// Module path for relative-module-resolver.js
|
|
35
|
+
// Example: ".../@eslint/eslintrc/lib/shared/relative-module-resolver"
|
|
36
|
+
let moduleResolverPath = undefined;
|
|
37
|
+
// Folder path where ESLint's package.json can be found
|
|
38
|
+
// Example: ".../node_modules/eslint"
|
|
39
|
+
let eslintFolder = undefined;
|
|
40
|
+
// Probe for the ESLint >=8.0.0 layout:
|
|
41
|
+
for (let currentModule = module;;) {
|
|
42
|
+
if (!eslintrcBundlePath) {
|
|
43
|
+
// For ESLint >=8.0.0, all @eslint/eslintrc code is bundled at this path:
|
|
44
|
+
// .../@eslint/eslintrc/dist/eslintrc.cjs
|
|
45
|
+
try {
|
|
46
|
+
const eslintrcFolder = path_1.default.dirname(require.resolve("@eslint/eslintrc/package.json", {
|
|
47
|
+
paths: [currentModule.path],
|
|
48
|
+
}));
|
|
49
|
+
// Make sure we actually resolved the module in our call path
|
|
50
|
+
// and not some other spurious dependency.
|
|
51
|
+
if (path_1.default.join(eslintrcFolder, "dist/eslintrc.cjs") ===
|
|
52
|
+
currentModule.filename) {
|
|
53
|
+
eslintrcBundlePath = path_1.default.join(eslintrcFolder, "dist/eslintrc.cjs");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
catch (ex) {
|
|
57
|
+
// Module resolution failures are expected, as we're walking
|
|
58
|
+
// up our require stack to look for eslint. All other errors
|
|
59
|
+
// are rethrown.
|
|
60
|
+
if (!isModuleResolutionError(ex)) {
|
|
61
|
+
throw ex;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
// Next look for a file in ESLint's folder
|
|
67
|
+
// .../eslint/lib/cli-engine/cli-engine.js
|
|
68
|
+
try {
|
|
69
|
+
const eslintCandidateFolder = path_1.default.dirname(require.resolve("eslint/package.json", {
|
|
70
|
+
paths: [currentModule.path],
|
|
71
|
+
}));
|
|
72
|
+
// Make sure we actually resolved the module in our call path
|
|
73
|
+
// and not some other spurious dependency.
|
|
74
|
+
if (path_1.default.join(eslintCandidateFolder, "lib/cli-engine/cli-engine.js") ===
|
|
75
|
+
currentModule.filename) {
|
|
76
|
+
eslintFolder = eslintCandidateFolder;
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (ex) {
|
|
81
|
+
// Module resolution failures are expected, as we're walking
|
|
82
|
+
// up our require stack to look for eslint. All other errors
|
|
83
|
+
// are rethrown.
|
|
84
|
+
if (!isModuleResolutionError(ex)) {
|
|
85
|
+
throw ex;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (!currentModule.parent) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
currentModule = currentModule.parent;
|
|
93
|
+
}
|
|
94
|
+
if (!eslintFolder) {
|
|
95
|
+
// Probe for the ESLint >=7.8.0 layout:
|
|
96
|
+
for (let currentModule = module;;) {
|
|
97
|
+
if (!configArrayFactoryPath) {
|
|
98
|
+
// For ESLint >=7.8.0, config-array-factory.js is at this path:
|
|
99
|
+
// .../@eslint/eslintrc/lib/config-array-factory.js
|
|
100
|
+
try {
|
|
101
|
+
const eslintrcFolder = path_1.default.dirname(require.resolve("@eslint/eslintrc/package.json", {
|
|
102
|
+
paths: [currentModule.path],
|
|
103
|
+
}));
|
|
104
|
+
if (path_1.default.join(eslintrcFolder, "/lib/config-array-factory.js") ==
|
|
105
|
+
currentModule.filename) {
|
|
106
|
+
configArrayFactoryPath = path_1.default.join(eslintrcFolder, "lib/config-array-factory.js");
|
|
107
|
+
moduleResolverPath = path_1.default.join(eslintrcFolder, "lib/shared/relative-module-resolver");
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch (ex) {
|
|
111
|
+
// Module resolution failures are expected, as we're walking
|
|
112
|
+
// up our require stack to look for eslint. All other errors
|
|
113
|
+
// are rethrown.
|
|
114
|
+
if (!isModuleResolutionError(ex)) {
|
|
115
|
+
throw ex;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
// Next look for a file in ESLint's folder
|
|
121
|
+
// .../eslint/lib/cli-engine/cli-engine.js
|
|
122
|
+
try {
|
|
123
|
+
const eslintCandidateFolder = path_1.default.dirname(require.resolve("eslint/package.json", {
|
|
124
|
+
paths: [currentModule.path],
|
|
125
|
+
}));
|
|
126
|
+
if (path_1.default.join(eslintCandidateFolder, "lib/cli-engine/cli-engine.js") ==
|
|
127
|
+
currentModule.filename) {
|
|
128
|
+
eslintFolder = eslintCandidateFolder;
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
catch (ex) {
|
|
133
|
+
// Module resolution failures are expected, as we're walking
|
|
134
|
+
// up our require stack to look for eslint. All other errors
|
|
135
|
+
// are rethrown.
|
|
136
|
+
if (!isModuleResolutionError(ex)) {
|
|
137
|
+
throw ex;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (!currentModule.parent) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
currentModule = currentModule.parent;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (!eslintFolder) {
|
|
148
|
+
// Probe for the <7.8.0 layout:
|
|
149
|
+
for (let currentModule = module;;) {
|
|
150
|
+
// For ESLint <7.8.0, config-array-factory.js was at this path:
|
|
151
|
+
// .../eslint/lib/cli-engine/config-array-factory.js
|
|
152
|
+
if (/[\\/]eslint[\\/]lib[\\/]cli-engine[\\/]config-array-factory\.js$/i.test(currentModule.filename)) {
|
|
153
|
+
eslintFolder = path_1.default.join(path_1.default.dirname(currentModule.filename), "../..");
|
|
154
|
+
configArrayFactoryPath = path_1.default.join(eslintFolder, "lib/cli-engine/config-array-factory");
|
|
155
|
+
moduleResolverPath = path_1.default.join(eslintFolder, "lib/shared/relative-module-resolver");
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
if (!currentModule.parent) {
|
|
159
|
+
// This was tested with ESLint 6.1.0 .. 7.12.1.
|
|
160
|
+
throw new Error("Failed to patch ESLint because the calling module was not recognized.\n" +
|
|
161
|
+
"If you are using a newer ESLint version that may be unsupported, please create a GitHub issue:\n" +
|
|
162
|
+
"https://github.com/microsoft/rushstack/issues");
|
|
163
|
+
}
|
|
164
|
+
currentModule = currentModule.parent;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
// Detect the ESLint package version
|
|
168
|
+
const eslintPackageJson = fs_1.default
|
|
169
|
+
.readFileSync(path_1.default.join(eslintFolder, "package.json"))
|
|
170
|
+
.toString();
|
|
171
|
+
const eslintPackageObject = JSON.parse(eslintPackageJson);
|
|
172
|
+
const eslintPackageVersion = eslintPackageObject.version;
|
|
173
|
+
const versionMatch = /^([0-9]+)\./.exec(eslintPackageVersion); // parse the SemVer MAJOR part
|
|
174
|
+
if (!versionMatch) {
|
|
175
|
+
throw new Error("Unable to parse ESLint version: " + eslintPackageVersion);
|
|
176
|
+
}
|
|
177
|
+
const eslintMajorVersion = Number(versionMatch[1]);
|
|
178
|
+
if (!(eslintMajorVersion >= 6 && eslintMajorVersion <= 8)) {
|
|
179
|
+
throw new Error("The patch-eslint.js script has only been tested with ESLint version 6.x, 7.x, and 8.x." +
|
|
180
|
+
` (Your version: ${eslintPackageVersion})\n` +
|
|
181
|
+
"Consider reporting a GitHub issue:\n" +
|
|
182
|
+
"https://github.com/microsoft/rushstack/issues");
|
|
183
|
+
}
|
|
184
|
+
let ConfigArrayFactory;
|
|
185
|
+
if (eslintMajorVersion === 8) {
|
|
186
|
+
ConfigArrayFactory = require(eslintrcBundlePath).Legacy.ConfigArrayFactory;
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
ConfigArrayFactory = require(configArrayFactoryPath).ConfigArrayFactory;
|
|
190
|
+
}
|
|
191
|
+
if (!ConfigArrayFactory.__patched) {
|
|
192
|
+
ConfigArrayFactory.__patched = true;
|
|
193
|
+
let ModuleResolver;
|
|
194
|
+
if (eslintMajorVersion === 8) {
|
|
195
|
+
ModuleResolver = require(eslintrcBundlePath).Legacy.ModuleResolver;
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
ModuleResolver = require(moduleResolverPath);
|
|
199
|
+
}
|
|
200
|
+
const originalLoadPlugin = ConfigArrayFactory.prototype._loadPlugin;
|
|
201
|
+
if (eslintMajorVersion === 6) {
|
|
202
|
+
// ESLint 6.x
|
|
203
|
+
ConfigArrayFactory.prototype._loadPlugin = function (name, importerPath, importerName) {
|
|
204
|
+
const originalResolve = ModuleResolver.resolve;
|
|
205
|
+
try {
|
|
206
|
+
ModuleResolver.resolve = function (moduleName, relativeToPath) {
|
|
207
|
+
// resolve using importerPath instead of relativeToPath
|
|
208
|
+
return originalResolve.call(this, moduleName, importerPath);
|
|
209
|
+
};
|
|
210
|
+
return originalLoadPlugin.apply(this, arguments);
|
|
211
|
+
}
|
|
212
|
+
finally {
|
|
213
|
+
ModuleResolver.resolve = originalResolve;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
// ESLint 7.x || 8.x
|
|
219
|
+
ConfigArrayFactory.prototype._loadPlugin = function (name, ctx) {
|
|
220
|
+
const originalResolve = ModuleResolver.resolve;
|
|
221
|
+
try {
|
|
222
|
+
ModuleResolver.resolve = function (moduleName, relativeToPath) {
|
|
223
|
+
// resolve using ctx.filePath instead of relativeToPath
|
|
224
|
+
return originalResolve.call(this, moduleName, ctx.filePath);
|
|
225
|
+
};
|
|
226
|
+
return originalLoadPlugin.apply(this, arguments);
|
|
227
|
+
}
|
|
228
|
+
finally {
|
|
229
|
+
ModuleResolver.resolve = originalResolve;
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
exports.allowESLintShareableConfig = allowESLintShareableConfig;
|
|
236
|
+
//# sourceMappingURL=patch-eslint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-eslint.js","sourceRoot":"","sources":["../src/patch-eslint.ts"],"names":[],"mappings":";AAAA,kHAAkH;;;;;;AAElH,4FAA4F;AAC5F,2DAA2D;AAE3D,wEAAwE;AACxE,EAAE;AACF,oHAAoH;AACpH,EAAE;AACF,kEAAkE;AAClE,EAAE;AACF,gDAAwB;AACxB,4CAAoB;AAEpB,IAAI,cAAc,GAAG,KAAK,CAAC;AAEpB,MAAM,0BAA0B,GAAG,GAAG,EAAE;IAC7C,IAAI,cAAc,EAAE;QAClB,OAAO;KACR;IACD,cAAc,GAAG,IAAI,CAAC;IACtB,MAAM,uBAAuB,GAA6B,CAAC,EAAE,EAAE,EAAE,CAC/D,OAAO,EAAE,KAAK,QAAQ;QACtB,CAAC,CAAC,EAAE;QACJ,MAAM,IAAI,EAAE;QACX,EAAwB,CAAC,IAAI,KAAK,kBAAkB,CAAC;IAExD,+BAA+B;IAC/B,oDAAoD;IACpD,IAAI,kBAAkB,GAAuB,SAAS,CAAC;IAEvD,0CAA0C;IAC1C,2DAA2D;IAC3D,IAAI,sBAAsB,GAAuB,SAAS,CAAC;IAE3D,8CAA8C;IAC9C,sEAAsE;IACtE,IAAI,kBAAkB,GAAuB,SAAS,CAAC;IAEvD,uDAAuD;IACvD,qCAAqC;IACrC,IAAI,YAAY,GAAuB,SAAS,CAAC;IAEjD,uCAAuC;IACvC,KAAK,IAAI,aAAa,GAAG,MAAM,IAAM;QACnC,IAAI,CAAC,kBAAkB,EAAE;YACvB,yEAAyE;YACzE,2CAA2C;YAC3C,IAAI;gBACF,MAAM,cAAc,GAAG,cAAI,CAAC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BAC9D,CAAC,CAAC;oBACF,OAAO,kBAAkB,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;iBAClD;wBAAS;oBACR,cAAc,CAAC,OAAO,GAAG,eAAe,CAAC;iBAC1C;YACH,CAAC,CAAC;SACH;aAAM;YACL,oBAAoB;YACpB,kBAAkB,CAAC,SAAS,CAAC,WAAW,GAAG,UACzC,IAAY,EACZ,GAA4B;gBAE5B,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC;gBAC/C,IAAI;oBACF,cAAc,CAAC,OAAO,GAAG,UACvB,UAAkB,EAClB,cAAsB;wBAEtB,uDAAuD;wBACvD,OAAO,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;oBAC9D,CAAC,CAAC;oBACF,OAAO,kBAAkB,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;iBAClD;wBAAS;oBACR,cAAc,CAAC,OAAO,GAAG,eAAe,CAAC;iBAC1C;YACH,CAAC,CAAC;SACH;KACF;AACH,CAAC,CAAC;AAhRW,QAAA,0BAA0B,8BAgRrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/eslint-config",
|
|
3
|
-
"version": "3.0.0-lambda.
|
|
3
|
+
"version": "3.0.0-lambda.467+9e364b5a3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,15 +16,12 @@
|
|
|
16
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@remotion/eslint-plugin": "3.0.0-lambda.
|
|
19
|
+
"@remotion/eslint-plugin": "3.0.0-lambda.467+9e364b5a3",
|
|
20
20
|
"@typescript-eslint/eslint-plugin": "5.11.0",
|
|
21
21
|
"@typescript-eslint/parser": "5.11.0",
|
|
22
|
-
"eslint-
|
|
23
|
-
"eslint-
|
|
24
|
-
"eslint-
|
|
25
|
-
"eslint-plugin-10x": "1.5.0",
|
|
26
|
-
"eslint-plugin-react": "7.26.1",
|
|
27
|
-
"eslint-plugin-react-hooks": "4.3.0"
|
|
22
|
+
"eslint-plugin-10x": "1.5.2",
|
|
23
|
+
"eslint-plugin-react": "7.29.4",
|
|
24
|
+
"eslint-plugin-react-hooks": "4.4.0"
|
|
28
25
|
},
|
|
29
26
|
"devDependencies": {
|
|
30
27
|
"@types/node": "17.0.17",
|
|
@@ -41,5 +38,5 @@
|
|
|
41
38
|
"publishConfig": {
|
|
42
39
|
"access": "public"
|
|
43
40
|
},
|
|
44
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "9e364b5a3a21e3ccb3704330c0ddffb480906d58"
|
|
45
42
|
}
|