@remotion/eslint-config-flat 4.0.528 → 4.0.530
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/esm/index.mjs +2 -52
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -47327,7 +47327,7 @@ var init_valid_composition_and_folder_name = __esm(() => {
|
|
|
47327
47327
|
});
|
|
47328
47328
|
});
|
|
47329
47329
|
var createRule15;
|
|
47330
|
-
var VolumeCallback = "
|
|
47330
|
+
var VolumeCallback = "Deprecated no-op kept for compatibility. Volume can be animated with regular keyframes.";
|
|
47331
47331
|
var volume_callback_default;
|
|
47332
47332
|
var init_volume_callback = __esm(() => {
|
|
47333
47333
|
createRule15 = import_utils15.ESLintUtils.RuleCreator(() => {
|
|
@@ -47348,56 +47348,7 @@ var init_volume_callback = __esm(() => {
|
|
|
47348
47348
|
}
|
|
47349
47349
|
},
|
|
47350
47350
|
defaultOptions: [],
|
|
47351
|
-
create: (
|
|
47352
|
-
return {
|
|
47353
|
-
JSXAttribute: (node) => {
|
|
47354
|
-
if (node.type !== "JSXAttribute") {
|
|
47355
|
-
return;
|
|
47356
|
-
}
|
|
47357
|
-
if (node.name.name !== "volume") {
|
|
47358
|
-
return;
|
|
47359
|
-
}
|
|
47360
|
-
const value = node.value;
|
|
47361
|
-
if (!value || value.type !== "JSXExpressionContainer") {
|
|
47362
|
-
return;
|
|
47363
|
-
}
|
|
47364
|
-
const parent = node.parent;
|
|
47365
|
-
if (!parent) {
|
|
47366
|
-
return;
|
|
47367
|
-
}
|
|
47368
|
-
if (parent.type !== "JSXOpeningElement") {
|
|
47369
|
-
return;
|
|
47370
|
-
}
|
|
47371
|
-
const name = parent.name;
|
|
47372
|
-
if (name.type !== "JSXIdentifier") {
|
|
47373
|
-
return;
|
|
47374
|
-
}
|
|
47375
|
-
if (name.name !== "Video" && name.name !== "Audio" && name.name !== "Html5Video" && name.name !== "Html5Audio") {
|
|
47376
|
-
return;
|
|
47377
|
-
}
|
|
47378
|
-
const expression = value.expression;
|
|
47379
|
-
if (!expression) {
|
|
47380
|
-
return;
|
|
47381
|
-
}
|
|
47382
|
-
if (expression.type === "Literal") {
|
|
47383
|
-
return;
|
|
47384
|
-
}
|
|
47385
|
-
if (expression.type === "ArrowFunctionExpression") {
|
|
47386
|
-
return;
|
|
47387
|
-
}
|
|
47388
|
-
if (expression.type === "FunctionExpression") {
|
|
47389
|
-
return;
|
|
47390
|
-
}
|
|
47391
|
-
if (expression.type === "Identifier") {
|
|
47392
|
-
return;
|
|
47393
|
-
}
|
|
47394
|
-
context.report({
|
|
47395
|
-
messageId: "VolumeCallback",
|
|
47396
|
-
node
|
|
47397
|
-
});
|
|
47398
|
-
}
|
|
47399
|
-
};
|
|
47400
|
-
}
|
|
47351
|
+
create: () => ({})
|
|
47401
47352
|
});
|
|
47402
47353
|
});
|
|
47403
47354
|
var createRule16;
|
|
@@ -47540,7 +47491,6 @@ var require_src2 = __commonJS2((exports, module) => {
|
|
|
47540
47491
|
"@remotion/even-dimensions": "error",
|
|
47541
47492
|
"@remotion/duration-in-frames": "error",
|
|
47542
47493
|
"@remotion/from-0": "error",
|
|
47543
|
-
"@remotion/volume-callback": "error",
|
|
47544
47494
|
"@remotion/use-gif-component": "error",
|
|
47545
47495
|
"@remotion/staticfile-no-relative": "error",
|
|
47546
47496
|
"@remotion/staticfile-no-remote": "error",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config-flat"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/eslint-config-flat",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.530",
|
|
7
7
|
"description": "Default configuration for Remotion templates (ESLint >= 9)",
|
|
8
8
|
"main": "dist/esm/index.mjs",
|
|
9
9
|
"type": "module",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"eslint": ">=9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@remotion/eslint-plugin": "4.0.
|
|
31
|
+
"@remotion/eslint-plugin": "4.0.530",
|
|
32
32
|
"@eslint/js": "9.19.0",
|
|
33
33
|
"eslint-plugin-react": "7.37.4",
|
|
34
34
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
35
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
35
|
+
"@remotion/eslint-config-internal": "4.0.530",
|
|
36
36
|
"eslint": "9.19.0",
|
|
37
37
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
38
38
|
},
|