@remotion/eslint-config-flat 4.0.253 → 4.0.254
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 +4 -6
- package/dist/index.js +2 -4
- package/package.json +8 -9
package/dist/esm/index.mjs
CHANGED
|
@@ -92025,7 +92025,7 @@ var require_rule_tester = __commonJS((exports, module) => {
|
|
|
92025
92025
|
var { Linter, SourceCodeFixer, interpolate } = require_linter2();
|
|
92026
92026
|
var CodePath = require_code_path();
|
|
92027
92027
|
var ajv = require_ajv2()({ strictDefaults: true });
|
|
92028
|
-
var espreePath = __require.resolve("
|
|
92028
|
+
var espreePath = __require.resolve("espree");
|
|
92029
92029
|
var parserSymbol = Symbol.for("eslint.RuleTester.parser");
|
|
92030
92030
|
var { SourceCode } = require_source_code2();
|
|
92031
92031
|
var testerDefaultConfig = { rules: {} };
|
|
@@ -445062,7 +445062,7 @@ var import_eslint_plugin_react = __toESM(require_eslint_plugin_react(), 1);
|
|
|
445062
445062
|
var import_eslint_plugin_react_hooks = __toESM(require_eslint_plugin_react_hooks(), 1);
|
|
445063
445063
|
var import_typescript_eslint = __toESM(require_dist14(), 1);
|
|
445064
445064
|
var config = import_typescript_eslint.default.config({
|
|
445065
|
-
ignores: ["**/build/**", "**/dist/**", "**/out/**"]
|
|
445065
|
+
ignores: ["**/build/**", "**/dist/**", "**/out/**", "eslint.config.mjs"]
|
|
445066
445066
|
}, import_js.default.configs.recommended, import_typescript_eslint.default.configs.recommended, {
|
|
445067
445067
|
plugins: {
|
|
445068
445068
|
react: import_eslint_plugin_react.default,
|
|
@@ -445077,16 +445077,14 @@ var config = import_typescript_eslint.default.config({
|
|
|
445077
445077
|
}
|
|
445078
445078
|
},
|
|
445079
445079
|
rules: {
|
|
445080
|
-
...import_eslint_plugin_react.default.configs.
|
|
445080
|
+
...import_eslint_plugin_react.default.configs.flat.rules,
|
|
445081
445081
|
...import_eslint_plugin_react_hooks.default.configs.recommended.rules,
|
|
445082
445082
|
...import_eslint_plugin.default.configs.recommended.rules,
|
|
445083
445083
|
"no-console": "off",
|
|
445084
445084
|
"react/jsx-key": "off",
|
|
445085
445085
|
"react/jsx-no-target-blank": "off",
|
|
445086
445086
|
"react/jsx-no-useless-fragment": "off",
|
|
445087
|
-
"react/no-array-index-key": "off"
|
|
445088
|
-
"react/react-in-jsx-scope": "off",
|
|
445089
|
-
"react/prop-types": "off"
|
|
445087
|
+
"react/no-array-index-key": "off"
|
|
445090
445088
|
},
|
|
445091
445089
|
settings: {
|
|
445092
445090
|
react: {
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import reactPlugin from 'eslint-plugin-react';
|
|
|
5
5
|
import hooksPlugin from 'eslint-plugin-react-hooks';
|
|
6
6
|
import tseslint from 'typescript-eslint';
|
|
7
7
|
export const config = tseslint.config({
|
|
8
|
-
ignores: ['**/build/**', '**/dist/**', '**/out/**'],
|
|
8
|
+
ignores: ['**/build/**', '**/dist/**', '**/out/**', 'eslint.config.mjs'],
|
|
9
9
|
}, eslint.configs.recommended, tseslint.configs.recommended, {
|
|
10
10
|
plugins: {
|
|
11
11
|
react: reactPlugin,
|
|
@@ -20,7 +20,7 @@ export const config = tseslint.config({
|
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
rules: {
|
|
23
|
-
...reactPlugin.configs.
|
|
23
|
+
...reactPlugin.configs.flat.rules,
|
|
24
24
|
...hooksPlugin.configs.recommended.rules,
|
|
25
25
|
...remotionPlugin.configs.recommended.rules,
|
|
26
26
|
// Turning off rules that are too strict or don't apply to Remotion
|
|
@@ -32,8 +32,6 @@ export const config = tseslint.config({
|
|
|
32
32
|
'react/jsx-no-useless-fragment': 'off',
|
|
33
33
|
// This is generally okay because on every frame, there will be a full rerender anyway!
|
|
34
34
|
'react/no-array-index-key': 'off',
|
|
35
|
-
'react/react-in-jsx-scope': 'off',
|
|
36
|
-
'react/prop-types': 'off',
|
|
37
35
|
},
|
|
38
36
|
settings: {
|
|
39
37
|
react: {
|
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.254",
|
|
7
7
|
"description": "Default configuration for Remotion templates (ESLint >= 9)",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"type": "module",
|
|
@@ -15,19 +15,18 @@
|
|
|
15
15
|
},
|
|
16
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
17
|
"license": "ISC",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"typescript-eslint": "8.21.0",
|
|
20
|
-
"@eslint/js": "9.14.0",
|
|
21
|
-
"eslint-plugin-react": "7.37.4",
|
|
22
|
-
"eslint-plugin-react-hooks": "5.2.0-canary-de1eaa26-20250124",
|
|
23
|
-
"@remotion/eslint-plugin": "4.0.253"
|
|
24
|
-
},
|
|
18
|
+
"dependencies": {},
|
|
25
19
|
"peerDependencies": {
|
|
26
20
|
"eslint": ">=9"
|
|
27
21
|
},
|
|
28
22
|
"devDependencies": {
|
|
23
|
+
"typescript-eslint": "8.21.0",
|
|
24
|
+
"@eslint/js": "9.14.0",
|
|
25
|
+
"eslint-plugin-react": "7.37.4",
|
|
26
|
+
"eslint-plugin-react-hooks": "5.2.0-canary-de1eaa26-20250124",
|
|
29
27
|
"eslint": "9.14.0",
|
|
30
|
-
"@remotion/eslint-
|
|
28
|
+
"@remotion/eslint-plugin": "4.0.254",
|
|
29
|
+
"@remotion/eslint-config-internal": "4.0.254"
|
|
31
30
|
},
|
|
32
31
|
"keywords": [
|
|
33
32
|
"remotion",
|