@remotion/eslint-config 4.0.0-oops.3 → 4.0.0-spawn.10
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/auto-import-rules.d.ts +1 -0
- package/dist/auto-import-rules.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -1
- package/dist/patch-eslint.js +4 -4
- package/package.json +4 -4
|
@@ -24,6 +24,7 @@ exports.autoImports = {
|
|
|
24
24
|
Composition: "import {Composition} from 'remotion'",
|
|
25
25
|
Audio: "import {Audio} from 'remotion'",
|
|
26
26
|
Video: "import {Video} from 'remotion'",
|
|
27
|
+
OffthreadVideo: "import {OffthreadVideo} from 'remotion'",
|
|
27
28
|
Series: "import {Series} from 'remotion'",
|
|
28
29
|
Still: "import {Still} from 'remotion'",
|
|
29
30
|
Freeze: "import {Freeze} from 'remotion'",
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare const _default: {
|
|
|
45
45
|
Composition: string;
|
|
46
46
|
Audio: string;
|
|
47
47
|
Video: string;
|
|
48
|
+
OffthreadVideo: string;
|
|
48
49
|
Series: string;
|
|
49
50
|
Still: string;
|
|
50
51
|
Freeze: string;
|
|
@@ -199,7 +200,6 @@ declare const _default: {
|
|
|
199
200
|
"for-direction": string;
|
|
200
201
|
"getter-return": string;
|
|
201
202
|
"no-async-promise-executor": string;
|
|
202
|
-
"no-await-in-loop": string;
|
|
203
203
|
"no-compare-neg-zero": string;
|
|
204
204
|
"no-cond-assign": string;
|
|
205
205
|
"no-constant-condition": string;
|
|
@@ -500,6 +500,7 @@ declare const _default: {
|
|
|
500
500
|
Composition: string;
|
|
501
501
|
Audio: string;
|
|
502
502
|
Video: string;
|
|
503
|
+
OffthreadVideo: string;
|
|
503
504
|
Series: string;
|
|
504
505
|
Still: string;
|
|
505
506
|
Freeze: string;
|
|
@@ -654,7 +655,6 @@ declare const _default: {
|
|
|
654
655
|
"for-direction": string;
|
|
655
656
|
"getter-return": string;
|
|
656
657
|
"no-async-promise-executor": string;
|
|
657
|
-
"no-await-in-loop": string;
|
|
658
658
|
"no-compare-neg-zero": string;
|
|
659
659
|
"no-cond-assign": string;
|
|
660
660
|
"no-constant-condition": string;
|
package/dist/index.js
CHANGED
|
@@ -134,7 +134,6 @@ const getRules = (typescript) => {
|
|
|
134
134
|
"for-direction": "error",
|
|
135
135
|
"getter-return": "error",
|
|
136
136
|
"no-async-promise-executor": "error",
|
|
137
|
-
"no-await-in-loop": "error",
|
|
138
137
|
"no-compare-neg-zero": "error",
|
|
139
138
|
"no-cond-assign": "error",
|
|
140
139
|
"no-constant-condition": "error",
|
package/dist/patch-eslint.js
CHANGED
|
@@ -195,10 +195,10 @@ const allowESLintShareableConfig = () => {
|
|
|
195
195
|
const originalLoadPlugin = ConfigArrayFactory.prototype._loadPlugin;
|
|
196
196
|
if (eslintMajorVersion === 6) {
|
|
197
197
|
// ESLint 6.x
|
|
198
|
-
ConfigArrayFactory.prototype._loadPlugin = function (
|
|
198
|
+
ConfigArrayFactory.prototype._loadPlugin = function (_name, importerPath, _importerName) {
|
|
199
199
|
const originalResolve = ModuleResolver.resolve;
|
|
200
200
|
try {
|
|
201
|
-
ModuleResolver.resolve = function (moduleName,
|
|
201
|
+
ModuleResolver.resolve = function (moduleName, _relativeToPath) {
|
|
202
202
|
// resolve using importerPath instead of relativeToPath
|
|
203
203
|
return originalResolve.call(this, moduleName, importerPath);
|
|
204
204
|
};
|
|
@@ -211,10 +211,10 @@ const allowESLintShareableConfig = () => {
|
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
// ESLint 7.x || 8.x
|
|
214
|
-
ConfigArrayFactory.prototype._loadPlugin = function (
|
|
214
|
+
ConfigArrayFactory.prototype._loadPlugin = function (_name, ctx) {
|
|
215
215
|
const originalResolve = ModuleResolver.resolve;
|
|
216
216
|
try {
|
|
217
|
-
ModuleResolver.resolve = function (moduleName,
|
|
217
|
+
ModuleResolver.resolve = function (moduleName, _relativeToPath) {
|
|
218
218
|
// resolve using ctx.filePath instead of relativeToPath
|
|
219
219
|
return originalResolve.call(this, moduleName, ctx.filePath);
|
|
220
220
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/eslint-config",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-spawn.10+911177607",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@remotion/eslint-plugin": "4.0.0-
|
|
19
|
+
"@remotion/eslint-plugin": "4.0.0-spawn.10+911177607",
|
|
20
20
|
"@typescript-eslint/eslint-plugin": "5.19.0",
|
|
21
21
|
"@typescript-eslint/parser": "5.19.0",
|
|
22
22
|
"eslint-plugin-10x": "1.5.2",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "17.0.17",
|
|
31
31
|
"eslint": "8.13.0",
|
|
32
|
-
"typescript": "^4.
|
|
32
|
+
"typescript": "^4.7.0"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"remotion",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "911177607ac127d9f4d1c014ad8ae32fd14947dd"
|
|
46
46
|
}
|