🎥 Make videos programmatically with React
Disable no-use-before-define in public ESLint presets
Jonny Burgera588fea9d67e
diff --git a/packages/eslint-config-flat/src/index.ts b/packages/eslint-config-flat/src/index.tsindex d0a83fda43..81e3850dd6 100644--- a/packages/eslint-config-flat/src/index.ts+++ b/packages/eslint-config-flat/src/index.ts@@ -43,6 +43,8 @@ export const makeConfig = ({...hooksPlugin.configs.recommended.rules,// Turning off rules that are too strict or don't apply to Remotion'no-console': 'off',+ 'no-use-before-define': 'off',+ '@typescript-eslint/no-use-before-define': 'off','@typescript-eslint/no-empty-object-type': 'off','react/jsx-key': 'off','react/jsx-no-target-blank': 'off',diff --git a/packages/eslint-config/src/index.ts b/packages/eslint-config/src/index.tsindex 69539afd7d..aab2e05a9a 100644--- a/packages/eslint-config/src/index.ts+++ b/packages/eslint-config/src/index.ts@@ -471,6 +471,8 @@ const getRules = (typescript: boolean) => {// Turning off rules that are too strict or don't apply to Remotion'react/jsx-no-constructed-context-values': 'off','no-console': 'off',+ 'no-use-before-define': 'off',+ '@typescript-eslint/no-use-before-define': 'off','react/react-in-jsx-scope': 'off','react/jsx-key': 'off','react/jsx-no-target-blank': 'off',