Skip to content

🎥 Make videos programmatically with React

eslint config

Jonny Burgerc3801167757e
diff --git a/packages/animated-emoji/.eslintrc b/packages/animated-emoji/.eslintrc
index 21cc22e779..3427396b2b 100644
--- a/packages/animated-emoji/.eslintrc
+++ b/packages/animated-emoji/.eslintrc
@@ -1,3 +1,3 @@
{
- "extends": ["@jonny/eslint-config/react"],
+ "extends": ["@remotion/internal/react"],
}
diff --git a/packages/animated-emoji/package.json b/packages/animated-emoji/package.json
index 94e7653e75..5f5e8f9b4e 100644
--- a/packages/animated-emoji/package.json
+++ b/packages/animated-emoji/package.json
@@ -40,5 +40,8 @@
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/animated-emoji"
},
"homepage": "https://www.remotion.dev/docs/animated-emoji",
- "description": "Google Fonts Animated Emojis as Remotion components"
+ "description": "Google Fonts Animated Emojis as Remotion components",
+ "devDependencies": {
+ "@remotion/eslint-config-internal": "workspace:*"
+ }
}
diff --git a/packages/eslint-config-internal/package.json b/packages/eslint-config-internal/package.json
new file mode 100644
index 0000000000..ae0dc7a6f9
--- /dev/null
+++ b/packages/eslint-config-internal/package.json
@@ -0,0 +1,31 @@
+{
+ "repository": {
+ "url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config-internal"
+ },
+ "name": "@remotion/eslint-config-internal",
+ "version": "4.0.226",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "main": "dist/index.js",
+ "scripts": {},
+ "exports": {
+ ".": {
+ "import": "./dist/index.js",
+ "require": "./dist/index.js",
+ "types": "./dist/index.d.ts"
+ },
+ "./react": {
+ "import": "./dist/react.js",
+ "require": "./dist/react.js",
+ "types": "./dist/react.d.ts"
+ },
+ "./package.json": "./package.json"
+ },
+ "private": true,
+ "devDependencies": {
+ "@typescript-eslint/eslint-plugin": "7.5.0",
+ "@typescript-eslint/parser": "7.5.0",
+ "eslint-plugin-10x": "1.5.2",
+ "eslint-plugin-react": "7.34.1",
+ "eslint-plugin-react-hooks": "4.6.0"
+ }
+}
diff --git a/packages/eslint-config-internal/src/auto-import-rules.ts b/packages/eslint-config-internal/src/auto-import-rules.ts
new file mode 100644
index 0000000000..70ea2367df
--- /dev/null
+++ b/packages/eslint-config-internal/src/auto-import-rules.ts
@@ -0,0 +1,13 @@
+export const autoImportRules = {
+ fs: "import fs from 'fs'",
+ path: "import path from 'path'",
+ createReadStream: "import {createReadStream} from 'fs'",
+ useRef: "import {useRef} from 'react'",
+ useEffect: "import {useEffect} from 'react'",
+ useState: "import {useState} from 'react'",
+ useCallback: "import {useCallback} from 'react'",
+ useMemo: "import {useMemo} from 'react'",
+ useReducer: "import {useReducer} from 'react'",
+ Fragment: "import {Fragment} from 'react'",
+ util: "import util from 'util'",
+};
diff --git a/packages/eslint-config-internal/src/base.ts b/packages/eslint-config-internal/src/base.ts
new file mode 100644
index 0000000000..b43d08b183
--- /dev/null
+++ b/packages/eslint-config-internal/src/base.ts
@@ -0,0 +1,639 @@
+export const base = (react: boolean) => {
+ return {
+ env: {
+ node: true,
+ browser: true,
+ es6: true,
+ jest: false,
+ },
+ plugins: [
+ react ? 'react' : undefined,
+ react ? 'react-hooks' : undefined,
+ '@typescript-eslint/eslint-plugin',
+ '10x',
+ ].filter(Boolean),
+ extends: [
+ 'plugin:@typescript-eslint/recommended',
+ 'eslint:recommended',
+ ].filter(Boolean),
+ parser: '@typescript-eslint/parser',
+ parserOptions: {
+ ecmaVersion: 2020,
+ sourceType: 'module',
+ ecmaFeatures: {
+ jsx: true,
+ },
+ },
+ rules: {
+ 'for-direction': 'error',
+ 'getter-return': 'error',
+ 'no-async-promise-executor': 'error',
+ 'no-compare-neg-zero': 'error',
+ 'no-cond-assign': 'error',
+ 'no-constant-condition': 'error',
+ 'no-control-regex': 'error',
+ 'no-debugger': 'error',
+ 'no-dupe-args': 'error',
+ 'no-dupe-else-if': 'error',
+ 'no-dupe-keys': 'error',
+ 'no-duplicate-case': 'error',
+ 'no-empty-character-class': 'error',
+ 'no-empty': [
+ 'error',
+ {
+ allowEmptyCatch: true,
+ },
+ ],
+ 'no-ex-assign': 'error',
+ 'no-extra-boolean-cast': 'error',
+ // Disabled because of https://github.com/eslint/eslint/issues/6028
+ // 'no-extra-parens': [
+ // 'error',
+ // 'all',
+ // {
+ // conditionalAssign: false,
+ // nestedBinaryExpressions: false,
+ // ignoreJSX: 'multi-line'
+ // }
+ // ],
+ 'no-func-assign': 'error',
+ 'no-import-assign': 'error',
+ 'no-inner-declarations': 'error',
+ 'no-invalid-regexp': 'error',
+ 'no-irregular-whitespace': 'error',
+ 'no-loss-of-precision': 'error',
+ 'no-misleading-character-class': 'error',
+ 'no-obj-calls': 'error',
+ 'no-promise-executor-return': 'error',
+ 'no-prototype-builtins': 'error',
+ 'no-regex-spaces': 'error',
+ 'no-setter-return': 'error',
+ 'no-sparse-arrays': 'error',
+ 'no-unreachable': 'error',
+ 'no-unreachable-loop': 'error',
+ 'no-unsafe-finally': 'error',
+ 'no-unsafe-negation': [
+ 'error',
+ {
+ enforceForOrderingRelations: true,
+ },
+ ],
+ 'no-unsafe-optional-chaining': [
+ 'error',
+ {
+ disallowArithmeticOperators: true,
+ },
+ ],
+ 'no-useless-backreference': 'error',
+ 'use-isnan': 'error',
+ 'valid-typeof': [
+ 'error',
+ {
+ requireStringLiterals: false,
+ },
+ ],
+ 'accessor-pairs': [
+ 'error',
+ {
+ enforceForClassMembers: true,
+ },
+ ],
+ 'array-callback-return': [
+ 'error',
+ {
+ allowImplicit: true,
+ },
+ ],
+ 'block-scoped-var': 'error',
+ 'default-case-last': 'error',
+ 'default-param-last': 'error',
+ 'dot-notation': 'error',
+ 'dot-location': ['error', 'property'],
+ eqeqeq: 'error',
+ 'grouped-accessor-pairs': ['error', 'getBeforeSet'],
+ 'no-alert': 'error',
+ 'no-caller': 'error',
+ 'no-case-declarations': 'error',
+ 'no-constructor-return': 'error',
+ 'no-else-return': [
+ 'error',
+ {
+ allowElseIf: false,
+ },
+ ],
+ 'no-empty-pattern': 'error',
+ 'no-eq-null': 'error',
+ 'no-eval': 'error',
+ 'no-extend-native': 'error',
+ 'no-extra-bind': 'error',
+ 'no-extra-label': 'error',
+ 'no-fallthrough': 'error',
+ 'no-global-assign': 'error',
+ 'no-implicit-coercion': 'error',
+ 'no-implicit-globals': 'error',
+ 'no-implied-eval': 'error',
+ 'no-iterator': 'error',
+ 'no-labels': 'error',
+ 'no-lone-blocks': 'error',
+ 'no-multi-str': 'error',
+ 'no-new-func': 'error',
+ 'no-new-wrappers': 'error',
+ 'no-nonoctal-decimal-escape': 'error',
+ 'no-new': 'error',
+ 'no-octal-escape': 'error',
+ 'no-octal': 'error',
+ 'no-proto': 'error',
+ 'no-redeclare': 'error',
+ 'no-return-assign': ['error', 'always'],
+ 'no-return-await': 'error',
+ 'no-script-url': 'error',
+ 'no-self-assign': [
+ 'error',
+ {
+ props: true,
+ },
+ ],
+ 'no-self-compare': 'error',
+ 'no-sequences': 'error',
+ 'no-throw-literal': 'error',
+ 'no-unmodified-loop-condition': 'error',
+ 'no-unused-expressions': [
+ 'error',
+ {
+ enforceForJSX: true,
+ },
+ ],
+ 'no-unused-labels': 'error',
+ 'no-useless-call': 'error',
+ 'no-useless-catch': 'error',
+ 'no-useless-concat': 'error',
+ 'no-useless-escape': 'error',
+ 'no-useless-return': 'error',
+ 'no-void': 'error',
+ 'no-with': 'error',
+
+ // Disabled for now as Firefox doesn't support named capture groups and I'm tired of getting issues about the use of named capture groups...
+ // 'prefer-named-capture-group': 'error'
+
+ 'prefer-promise-reject-errors': [
+ 'error',
+ {
+ allowEmptyReject: true,
+ },
+ ],
+ 'prefer-regex-literals': 'error',
+ radix: 'error',
+
+ yoda: 'error',
+ 'no-delete-var': 'error',
+ 'no-label-var': 'error',
+ 'no-restricted-globals': ['error', 'event'],
+ 'no-shadow-restricted-names': 'error',
+ 'no-undef-init': 'error',
+ 'no-buffer-constructor': 'error',
+ 'no-restricted-imports': [
+ 'error',
+ 'domain',
+ 'freelist',
+ 'smalloc',
+ 'punycode',
+ 'sys',
+ 'querystring',
+ 'colors',
+ ],
+ 'func-name-matching': [
+ 'error',
+ {
+ considerPropertyDescriptor: true,
+ },
+ ],
+ 'func-names': ['error', 'never'],
+ 'lines-between-class-members': [
+ 'error',
+ 'always',
+ {
+ // Workaround to allow class fields to not have lines between them.
+ // TODO: Get ESLint to add an option to ignore class fields.
+ exceptAfterSingleLine: true,
+ },
+ ],
+ 'max-depth': 'warn',
+ 'max-nested-callbacks': ['warn', 4],
+ 'max-params': [
+ 'warn',
+ {
+ max: 4,
+ },
+ ],
+ 'max-statements-per-line': 'error',
+ 'new-cap': [
+ 'error',
+ {
+ newIsCap: true,
+ capIsNew: true,
+ },
+ ],
+ 'no-array-constructor': 'error',
+ 'no-bitwise': 'error',
+ 'no-lonely-if': 'error',
+ 'no-multi-assign': 'error',
+ 'no-negated-condition': 'error',
+ 'no-new-object': 'error',
+ 'no-unneeded-ternary': 'error',
+ // Disabled because of https://github.com/xojs/eslint-config-xo/issues/27
+ // 'object-property-newline': 'error',
+ 'one-var': ['error', 'never'],
+ 'operator-assignment': ['error', 'always'],
+ 'padding-line-between-statements': [
+ 'error',
+ {
+ blankLine: 'always',
+ prev: 'multiline-block-like',
+ next: '*',
+ },
+ ],
+ 'prefer-exponentiation-operator': 'error',
+ 'prefer-object-spread': 'error',
+ 'spaced-comment': [
+ 'error',
+ 'always',
+ {
+ line: {
+ exceptions: ['-', '+', '*'],
+ markers: ['!', '/', '=>'],
+ },
+ block: {
+ exceptions: ['-', '+', '*'],
+ markers: ['!', '*'],
+ balanced: true,
+ },
+ },
+ ],
+ 'constructor-super': 'error',
+ 'no-class-assign': 'error',
+ 'no-const-assign': 'error',
+ 'no-dupe-class-members': 'error',
+ 'no-new-symbol': 'error',
+ 'no-this-before-super': 'error',
+ 'no-useless-computed-key': [
+ 'error',
+ {
+ enforceForClassMembers: true,
+ },
+ ],
+ 'no-useless-constructor': 'error',
+ 'no-useless-rename': 'error',
+ 'no-var': 'error',
+ 'object-shorthand': ['error', 'always'],
+ 'prefer-arrow-callback': [
+ 'error',
+ {
+ allowNamedFunctions: true,
+ },
+ ],
+ 'prefer-const': [
+ 'error',
+ {
+ destructuring: 'all',
+ },
+ ],
+ 'prefer-destructuring': [
+ 'error',
+ {
+ // `array` is disabled because it forces destructuring on
+ // stupid stuff like `foo.bar = process.argv[2];`
+ // TODO: Open ESLint issue about this
+ VariableDeclarator: {
+ array: false,
+ object: true,
+ },
+ AssignmentExpression: {
+ array: false,
+
+ // Disabled because object assignment destructuring requires parens wrapping:
+ // `let foo; ({foo} = object);`
+ object: false,
+ },
+ },
+ {
+ enforceForRenamedProperties: false,
+ },
+ ],
+ 'prefer-numeric-literals': 'error',
+ 'prefer-rest-params': 'error',
+ 'prefer-spread': 'error',
+ 'require-yield': 'error',
+ 'symbol-description': 'error',
+ 'arrow-body-style': 'off',
+ camelcase: 'off',
+ 'guard-for-in': 'off',
+ 'no-console': 'off',
+ 'no-await-in-loop': 'off',
+ 'capitalized-comments': 'off',
+ 'no-mixed-spaces-and-tabs': 'off',
+ 'operator-linebreak': 'off',
+ 'space-before-function-paren': 'off',
+ 'no-template-curly-in-string': 'error',
+ 'default-case': 'error',
+ 'generator-star-spacing': 'off',
+
+ 'no-warning-comments': 'warn',
+ 'no-unused-vars': 'off',
+ '@typescript-eslint/no-use-before-define': 'error',
+ '@typescript-eslint/consistent-type-imports': 'error',
+ '@typescript-eslint/no-unused-vars': [
+ 'error',
+ {
+ vars: 'all',
+ args: 'after-used',
+ ignoreRestSiblings: true,
+ },
+ ],
+ '@typescript-eslint/no-shadow': [
+ 'error',
+ {
+ builtinGlobals: false,
+ hoist: 'all',
+ },
+ ],
+ // We don't want to name it IState
+ '@typescript-eslint/interface-name-prefix': 'off',
+ '@typescript-eslint/camelcase': 'off',
+ '@typescript-eslint/no-var-requires': 'off',
+ '@typescript-eslint/prefer-regexp-exec': 'off',
+ '@typescript-eslint/explicit-member-accessibility': 'off',
+ '@typescript-eslint/ban-ts-ignore': 'off',
+ '@typescript-eslint/prefer-as-const': 'error',
+ '@typescript-eslint/prefer-ts-expect-error': 'error',
+ '@typescript-eslint/no-explicit-any': 'warn',
+ '@typescript-eslint/ban-ts-comment': 'off',
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
+ '@typescript-eslint/prefer-interface': 'off',
+ '@typescript-eslint/ban-types': 'off',
+ 'require-atomic-updates': 'off',
+ '10x/no-full-import': 'error',
+ '10x/react-in-scope': 'off',
+ '10x/auto-import': [
+ 'error',
+ {
+ imports: require('./auto-import-rules'),
+ },
+ ],
+ complexity: 'off',
+ 'no-shadow': 0,
+ 'no-undef': 0,
+ 'require-await': 1,
+
+ ...(react
+ ? {
+ 'react/jsx-sort-props': [
+ 'error',
+ {
+ callbacksLast: false,
+ shorthandFirst: false,
+ shorthandLast: false,
+ ignoreCase: false,
+ noSortAlphabetically: true,
+ reservedFirst: true,
+ },
+ ],
+ 'react/jsx-no-target-blank': 'off',
+ 'react/no-did-mount-set-state': 'error',
+ 'react/no-deprecated': 'warn',
+ 'react/no-this-in-sfc': 'error',
+ 'react/no-direct-mutation-state': 'error',
+
+ // currently has a bug
+ 'react/jsx-curly-brace-presence': react ? 'off' : undefined,
+ 'react/react-in-jsx-scope': react ? 'off' : undefined,
+ 'react/no-unused-prop-types': react ? 'off' : undefined,
+ 'react/boolean-prop-naming': react ? 'off' : undefined,
+ 'react/button-has-type': react ? 'error' : undefined,
+ 'react/default-props-match-prop-types': react ? 'error' : undefined,
+ 'react/function-component-definition': react
+ ? [
+ 'error',
+ {
+ namedComponents: 'arrow-function',
+ unnamedComponents: 'arrow-function',
+ },
+ ]
+ : undefined,
+ 'react/jsx-child-element-spacing': 'off',
+ 'react/jsx-closing-bracket-location': 'off',
+ 'react/jsx-closing-tag-location': 'off',
+ 'react/jsx-curly-newline': 'off',
+ 'react/jsx-curly-spacing': 'off',
+ 'react/jsx-equals-spacing': 'off',
+ 'react/jsx-first-prop-new-line': 'off',
+ 'react/jsx-indent-props': 'off',
+ 'react/jsx-max-props-per-line': 'off',
+ 'react/jsx-newline': 'off',
+ 'react/jsx-one-expression-per-line': 'off',
+ 'react/jsx-props-no-multi-spaces': 'off',
+ 'react/jsx-tag-spacing': 'off',
+ 'react/jsx-wrap-multilines': 'off',
+ 'react/self-closing-comp': react
+ ? [
+ 'warn',
+ {
+ component: true,
+ html: true,
+ },
+ ]
+ : undefined,
+ 'react/prop-types': react ? 'off' : undefined,
+ 'react/forbid-component-props': react ? 'off' : undefined,
+ 'react/jsx-indent': 'off',
+
+ 'react/no-access-state-in-setstate': 'error',
+ 'react/no-array-index-key': 'error',
+ 'react/no-children-prop': 'error',
+ 'react/no-danger': 'error',
+ 'react/no-danger-with-children': 'error',
+ 'react/no-did-update-set-state': 'error',
+ 'react/no-find-dom-node': 'error',
+ 'react/no-is-mounted': 'error',
+ 'react/no-redundant-should-component-update': 'error',
+ 'react/no-render-return-value': 'error',
+ 'react/no-typos': 'error',
+ 'react/no-string-refs': [
+ 'error',
+ {
+ noTemplateLiterals: true,
+ },
+ ],
+ 'react/no-unescaped-entities': 'error',
+ 'react/no-unknown-property': 'error',
+ 'react/no-unsafe': 'error',
+ 'react/no-unused-state': 'error',
+ 'react/prefer-read-only-props': 'error',
+ 'react/require-default-props': [
+ 'error',
+ {
+ forbidDefaultForRequired: true,
+ ignoreFunctionalComponents: true,
+ },
+ ],
+ 'react/state-in-constructor': ['error', 'never'],
+ 'react/static-property-placement': 'error',
+ 'react/style-prop-object': [
+ 'error',
+ {
+ allow: [
+ // This allows react-intl’s `<FormattedNumber value={0.42} style='percent'/>`.
+ 'FormattedNumber',
+ ],
+ },
+ ],
+ 'react/void-dom-elements-no-children': 'error',
+ 'react/jsx-boolean-value': 'error',
+ 'react/jsx-key': [
+ 'error',
+ {
+ checkFragmentShorthand: true,
+ checkKeyMustBeforeSpread: true,
+ },
+ ],
+ 'react/jsx-no-bind': [
+ 'error',
+ {
+ allowArrowFunctions: true,
+ },
+ ],
+ 'react/jsx-no-comment-textnodes': 'error',
+ 'react/jsx-no-constructed-context-values': 'error',
+ 'react/jsx-no-duplicate-props': [
+ 'error',
+ {
+ ignoreCase: true,
+ },
+ ],
+ 'react/jsx-no-script-url': 'error',
+
+ 'react/jsx-no-undef': 'error',
+ 'react/jsx-no-useless-fragment': 'error',
+ 'react/jsx-pascal-case': 'error',
+ 'react/jsx-uses-react': 'error',
+ 'react/jsx-uses-vars': 'error',
+ // Leads to errors like <>' '</>
+ 'react/jsx-fragments': react ? 'off' : undefined,
+ 'react-hooks/rules-of-hooks': 'error',
+ 'react-hooks/exhaustive-deps': 'error',
+ }
+ : {}),
+ // information. (These are marked with `0` instead of `"off"` so that a
+ // script can distinguish them.)
+ curly: 0,
+ 'lines-around-comment': 0,
+ 'max-len': 0,
+ 'no-confusing-arrow': 0,
+ 'no-mixed-operators': 0,
+ 'no-tabs': 0,
+ 'no-unexpected-multiline': 0,
+ quotes: 0,
+ '@typescript-eslint/quotes': 0,
+ 'vue/html-self-closing': 0,
+ 'vue/max-len': 0,
+
+ // The rest are rules that you never need to enable when using Prettier.
+ 'array-bracket-newline': 'off',
+ 'array-bracket-spacing': 'off',
+ 'array-element-newline': 'off',
+ 'arrow-parens': 'off',
+ 'arrow-spacing': 'off',
+ 'block-spacing': 'off',
+ 'brace-style': 'off',
+ 'comma-dangle': 'off',
+ 'comma-spacing': 'off',
+ 'comma-style': 'off',
+ 'computed-property-spacing': 'off',
+ 'eol-last': 'off',
+ 'func-call-spacing': 'off',
+ 'function-call-argument-newline': 'off',
+ 'function-paren-newline': 'off',
+ 'generator-star': 'off',
+ 'implicit-arrow-linebreak': 'off',
+ indent: 'off',
+ 'jsx-quotes': 'off',
+ 'key-spacing': 'off',
+ 'keyword-spacing': 'off',
+ 'linebreak-style': 'off',
+ 'multiline-ternary': 'off',
+ 'newline-per-chained-call': 'off',
+ 'new-parens': 'off',
+ 'no-arrow-condition': 'off',
+ 'no-comma-dangle': 'off',
+ 'no-extra-parens': 'off',
+ 'no-extra-semi': 'off',
+ 'no-floating-decimal': 'off',
+ 'no-multi-spaces': 'off',
+ 'no-multiple-empty-lines': 'off',
+ 'no-reserved-keys': 'off',
+ 'no-space-before-semi': 'off',
+ 'no-trailing-spaces': 'off',
+ 'no-whitespace-before-property': 'off',
+ 'no-wrap-func': 'off',
+ 'nonblock-statement-body-position': 'off',
+ 'object-curly-newline': 'off',
+ 'object-curly-spacing': 'off',
+ 'object-property-newline': 'off',
+ 'one-var-declaration-per-line': 'off',
+ 'padded-blocks': 'off',
+ 'quote-props': 'off',
+ 'rest-spread-spacing': 'off',
+ semi: 'off',
+ 'semi-spacing': 'off',
+ 'semi-style': 'off',
+ 'space-after-function-name': 'off',
+ 'space-after-keywords': 'off',
+ 'space-before-blocks': 'off',
+ 'space-before-function-parentheses': 'off',
+ 'space-before-keywords': 'off',
+ 'space-in-brackets': 'off',
+ 'space-in-parens': 'off',
+ 'space-infix-ops': 'off',
+ 'space-return-throw-case': 'off',
+ 'space-unary-ops': 'off',
+ 'space-unary-word-ops': 'off',
+ 'switch-colon-spacing': 'off',
+ 'template-curly-spacing': 'off',
+ 'template-tag-spacing': 'off',
+ 'unicode-bom': 'off',
+ 'wrap-iife': 'off',
+ 'wrap-regex': 'off',
+ 'yield-star-spacing': 'off',
+ '@typescript-eslint/brace-style': 'off',
+ '@typescript-eslint/comma-dangle': 'off',
+ '@typescript-eslint/comma-spacing': 'off',
+ '@typescript-eslint/func-call-spacing': 'off',
+ '@typescript-eslint/indent': 'off',
+ '@typescript-eslint/keyword-spacing': 'off',
+ '@typescript-eslint/member-delimiter-style': 'off',
+ '@typescript-eslint/no-extra-parens': 'off',
+ '@typescript-eslint/no-extra-semi': 'off',
+ '@typescript-eslint/object-curly-spacing': 'off',
+ '@typescript-eslint/semi': 'off',
+ '@typescript-eslint/space-before-function-paren': 'off',
+ '@typescript-eslint/space-infix-ops': 'off',
+ '@typescript-eslint/type-annotation-spacing': 'off',
+ },
+ settings: {
+ ...(react
+ ? {
+ react: {
+ version: '18.3.1',
+ },
+ }
+ : {}),
+ },
+ overrides: [
+ {
+ files: ['**.js'],
+ rules: {
+ '@typescript-eslint/no-var-requires': 'off',
+ },
+ },
+ ],
+ };
+};
diff --git a/packages/eslint-config-internal/src/index.ts b/packages/eslint-config-internal/src/index.ts
new file mode 100644
index 0000000000..eb0bf76eaf
--- /dev/null
+++ b/packages/eslint-config-internal/src/index.ts
@@ -0,0 +1,3 @@
+import {base} from './base';
+
+module.exports = base(false);
diff --git a/packages/eslint-config-internal/src/react.ts b/packages/eslint-config-internal/src/react.ts
new file mode 100644
index 0000000000..25955a8a0a
--- /dev/null
+++ b/packages/eslint-config-internal/src/react.ts
@@ -0,0 +1,3 @@
+import {base} from './base';
+
+module.exports = base(true);
diff --git a/packages/eslint-config-internal/tsconfig.json b/packages/eslint-config-internal/tsconfig.json
new file mode 100644
index 0000000000..7420dbf7ae
--- /dev/null
+++ b/packages/eslint-config-internal/tsconfig.json
@@ -0,0 +1,8 @@
+{
+ "extends": "../tsconfig.settings.json",
+ "compilerOptions": {
+ "rootDir": "src",
+ "outDir": "dist"
+ },
+ "references": []
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4bc796774f..c09c9b5d13 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -63,6 +63,10 @@ importers:
remotion:
specifier: workspace:*
version: link:../core
+ devDependencies:
+ '@remotion/eslint-config-internal':
+ specifier: workspace:*
+ version: link:../eslint-config-internal
packages/animation-utils:
dependencies:
@@ -771,6 +775,24 @@ importers:
specifier: 4.6.0
version: 4.6.0([email protected])
+ packages/eslint-config-internal:
+ devDependencies:
+ '@typescript-eslint/eslint-plugin':
+ specifier: 7.5.0
+ version: 7.5.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser':
+ specifier: 7.5.0
+ eslint-plugin-10x:
+ specifier: 1.5.2
+ version: 1.5.2([email protected])
+ eslint-plugin-react:
+ specifier: 7.34.1
+ version: 7.34.1([email protected])
+ eslint-plugin-react-hooks:
+ specifier: 4.6.0
+ version: 4.6.0([email protected])
+
packages/eslint-plugin:
dependencies:
'@typescript-eslint/utils':
@@ -2958,7 +2980,7 @@ packages:
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0}
dependencies:
ci-info: 4.0.0
- debug: 4.3.7
+ debug: 4.3.7([email protected])
dlv: 1.1.3
dset: 3.1.4
is-docker: 3.0.0
@@ -3963,7 +3985,7 @@ packages:
'@babel/traverse': 7.25.6
'@babel/types': 7.24.0
convert-source-map: 2.0.0
- debug: 4.3.6([email protected])
+ debug: 4.3.6
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -3985,7 +4007,7 @@ packages:
'@babel/traverse': 7.25.6
'@babel/types': 7.25.6
convert-source-map: 2.0.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -4007,7 +4029,7 @@ packages:
'@babel/traverse': 7.25.7
'@babel/types': 7.25.8
convert-source-map: 2.0.0
- debug: 4.3.7
+ debug: 4.3.7([email protected])
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -4220,7 +4242,7 @@ packages:
'@babel/core': 7.23.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -4235,7 +4257,7 @@ packages:
'@babel/core': 7.25.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -4250,7 +4272,7 @@ packages:
'@babel/core': 7.23.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -4265,7 +4287,7 @@ packages:
'@babel/core': 7.25.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -4280,7 +4302,7 @@ packages:
'@babel/core': 7.23.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -4295,7 +4317,7 @@ packages:
'@babel/core': 7.25.2
'@babel/helper-compilation-targets': 7.25.2
'@babel/helper-plugin-utils': 7.24.8
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lodash.debounce: 4.0.8
resolve: 1.22.8
transitivePeerDependencies:
@@ -7122,7 +7144,7 @@ packages:
'@babel/helper-split-export-declaration': 7.15.4
'@babel/parser': 7.24.1
'@babel/types': 7.24.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -7140,7 +7162,7 @@ packages:
'@babel/helper-split-export-declaration': 7.18.6
'@babel/parser': 7.24.1
'@babel/types': 7.24.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -7158,7 +7180,7 @@ packages:
'@babel/helper-split-export-declaration': 7.22.6
'@babel/parser': 7.24.1
'@babel/types': 7.24.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -7176,7 +7198,7 @@ packages:
'@babel/helper-split-export-declaration': 7.24.7
'@babel/parser': 7.25.6
'@babel/types': 7.25.6
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -7190,7 +7212,7 @@ packages:
'@babel/parser': 7.25.6
'@babel/template': 7.25.0
'@babel/types': 7.25.6
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -7204,7 +7226,7 @@ packages:
'@babel/parser': 7.25.8
'@babel/template': 7.25.7
'@babel/types': 7.25.8
- debug: 4.3.7
+ debug: 4.3.7([email protected])
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -9230,7 +9252,7 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
espree: 9.6.1
globals: 13.20.0
ignore: 5.2.4
@@ -9948,7 +9970,7 @@ packages:
deprecated: Use @eslint/config-array instead
dependencies:
'@humanwhocodes/object-schema': 2.0.3
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
minimatch: 3.1.2
transitivePeerDependencies:
- supports-color
@@ -11495,7 +11517,7 @@ packages:
eslint-plugin-jest-dom: 4.0.3([email protected])
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-node: 11.1.0([email protected])
- eslint-plugin-react: 7.32.2([email protected])
+ eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
eslint-plugin-testing-library: 5.11.1([email protected])([email protected])
react: 18.3.1
@@ -13548,7 +13570,7 @@ packages:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/type-utils': 5.62.0([email protected])([email protected])
'@typescript-eslint/utils': 5.62.0([email protected])([email protected])
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
graphemer: 1.4.0
ignore: 5.2.4
@@ -13587,6 +13609,7 @@ packages:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
+ dev: false
resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==}
@@ -13605,7 +13628,7 @@ packages:
'@typescript-eslint/type-utils': 7.5.0([email protected])([email protected])
'@typescript-eslint/utils': 7.5.0([email protected])([email protected])
'@typescript-eslint/visitor-keys': 7.5.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
graphemer: 1.4.0
ignore: 5.2.4
@@ -13630,7 +13653,7 @@ packages:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0([email protected])
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
typescript: 5.5.4
transitivePeerDependencies:
@@ -13651,11 +13674,12 @@ packages:
'@typescript-eslint/types': 6.21.0
'@typescript-eslint/typescript-estree': 6.21.0([email protected])
'@typescript-eslint/visitor-keys': 6.21.0
- debug: 4.3.6([email protected])
+ debug: 4.3.6
eslint: 8.56.0
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
+ dev: false
resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==}
@@ -13671,7 +13695,7 @@ packages:
'@typescript-eslint/types': 7.5.0
'@typescript-eslint/typescript-estree': 7.5.0([email protected])
'@typescript-eslint/visitor-keys': 7.5.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
typescript: 5.5.4
transitivePeerDependencies:
@@ -13699,6 +13723,7 @@ packages:
dependencies:
'@typescript-eslint/types': 6.21.0
'@typescript-eslint/visitor-keys': 6.21.0
+ dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-Z1r7uJY0MDeUlql9XJ6kRVgk/sP11sr3HKXn268HZyqL7i4cEfrdFuSSY/0tUqT37l5zT0tJOsuDP16kio85iA==}
@@ -13720,7 +13745,7 @@ packages:
dependencies:
'@typescript-eslint/typescript-estree': 5.62.0([email protected])
'@typescript-eslint/utils': 5.62.0([email protected])([email protected])
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
tsutils: 3.21.0([email protected])
typescript: 5.5.4
@@ -13740,12 +13765,13 @@ packages:
dependencies:
'@typescript-eslint/typescript-estree': 6.21.0([email protected])
'@typescript-eslint/utils': 6.21.0([email protected])([email protected])
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
ts-api-utils: 1.0.3([email protected])
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
+ dev: false
resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==}
@@ -13759,7 +13785,7 @@ packages:
dependencies:
'@typescript-eslint/typescript-estree': 7.5.0([email protected])
'@typescript-eslint/utils': 7.5.0([email protected])([email protected])
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
eslint: 8.56.0
ts-api-utils: 1.0.3([email protected])
typescript: 5.5.4
@@ -13779,6 +13805,7 @@ packages:
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}
engines: {node: ^16.0.0 || >=18.0.0}
+ dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-tv5B4IHeAdhR7uS4+bf8Ov3k793VEVHd45viRRkehIUZxm0WF82VPiLgHzA/Xl4TGPg1ZD49vfxBKFPecD5/mg==}
@@ -13796,7 +13823,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.19.0
'@typescript-eslint/visitor-keys': 5.19.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.3
@@ -13816,7 +13843,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/visitor-keys': 5.62.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.3
@@ -13837,7 +13864,7 @@ packages:
dependencies:
'@typescript-eslint/types': 6.21.0
'@typescript-eslint/visitor-keys': 6.21.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.3
@@ -13846,6 +13873,7 @@ packages:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
+ dev: false
/@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==}
@@ -13858,7 +13886,7 @@ packages:
dependencies:
'@typescript-eslint/types': 7.5.0
'@typescript-eslint/visitor-keys': 7.5.0
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.3
@@ -13923,6 +13951,7 @@ packages:
transitivePeerDependencies:
- supports-color
- typescript
+ dev: false
resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==}
@@ -13964,6 +13993,7 @@ packages:
dependencies:
'@typescript-eslint/types': 6.21.0
eslint-visitor-keys: 3.4.3
+ dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-mcuHM/QircmA6O7fy6nn2w/3ditQkj+SgtOc8DW3uQ10Yfj42amm2i+6F2K4YAOPNNTmE6iM1ynM6lrSwdendA==}
@@ -13977,7 +14007,7 @@ packages:
resolution: {integrity: sha512-kTwMUQ8xtAZaC4wb2XuLkPqFVBj2dNBueMQ89NWEuw87k2nLBbuafeG5cob/QEr6YduxIdTVUjix0MtC7mPlmg==}
dependencies:
'@typescript/vfs': 1.3.5
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
lz-string: 1.4.4
transitivePeerDependencies:
- supports-color
@@ -13996,7 +14026,7 @@ packages:
/@typescript/[email protected]:
resolution: {integrity: sha512-RbyJiaAGQPIcAGWFa3jAXSuAexU4BFiDRF1g3hy7LmRqfNpYlTQWGXjcrOaVZjJ8YkkpuwG0FcsYvtWQpd9igQ==}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -14004,7 +14034,7 @@ packages:
/@typescript/[email protected]:
resolution: {integrity: sha512-pI8Saqjupf9MfLw7w2+og+fmb0fZS0J6vsKXXrp4/PDXEFvntgzXmChCXC/KefZZS0YGS6AT8e0hGAJcTsdJlg==}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -14012,7 +14042,7 @@ packages:
/@typescript/[email protected]:
resolution: {integrity: sha512-Pood7yv5YWMIX+yCHo176OnF8WUlKGImFG7XlsuH14Zb1YN5+dYD3uUtS7lqZtsH7tAveNUi2NzdpQCN0yRbaw==}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -14020,7 +14050,7 @@ packages:
/@typescript/[email protected]:
resolution: {integrity: sha512-AJS307bPgbsZZ9ggCT3wwpg3VbTKMFNHfaY/uF0ahSkYYrPF2dSSKDNIDIQAHm9qJqbLvCsSJH7yN4Vs/CsMMg==}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -14435,7 +14465,7 @@ packages:
resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
engines: {node: '>= 6.0.0'}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
@@ -14443,7 +14473,7 @@ packages:
resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==}
engines: {node: '>= 14'}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -14825,7 +14855,7 @@ packages:
common-ancestor-path: 1.0.1
cookie: 0.7.2
cssesc: 3.0.0
- debug: 4.3.7
+ debug: 4.3.7([email protected])
deterministic-object-hash: 2.0.2
devalue: 5.1.1
diff: 5.2.0
@@ -14887,7 +14917,7 @@ packages:
resolution: {integrity: sha512-iH+boep2xivfD9wMaZWkywYIURSmsL96d6MoqrC94BnGSvXE4Quf8hnJiHGFYhw/nLeIa1XyRaf4vvcvkwAefg==}
engines: {node: 8.* || >= 10.*}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
heimdalljs: 0.2.6
istextorbinary: 2.6.0
mkdirp: 0.5.6
@@ -16519,8 +16549,9 @@ packages:
optional: true
dependencies:
ms: 2.1.2
+ dev: false
resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==}
engines: {node: '>=6.0'}
peerDependencies:
@@ -16530,9 +16561,8 @@ packages:
optional: true
dependencies:
ms: 2.1.2
- supports-color: 5.5.0
resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==}
engines: {node: '>=6.0'}
peerDependencies:
@@ -16542,7 +16572,7 @@ packages:
optional: true
dependencies:
ms: 2.1.3
- dev: false
+ supports-color: 5.5.0
resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==}
@@ -16733,7 +16763,7 @@ packages:
hasBin: true
dependencies:
address: 1.1.2
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -17811,12 +17841,12 @@ packages:
dependencies:
'@next/eslint-plugin-next': 14.2.13
'@rushstack/eslint-patch': 1.10.4
- '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.30.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.30.0(@typescript-eslint/[email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
@@ -17861,7 +17891,7 @@ packages:
optional: true
dependencies:
'@nolyfill/is-core-module': 1.0.39
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.56.0
eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
@@ -17877,7 +17907,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@@ -17891,11 +17921,11 @@ packages:
optional: true
dependencies:
'@nolyfill/is-core-module': 1.0.39
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.56.0
- eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.30.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.30.0(@typescript-eslint/[email protected])([email protected])([email protected])
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -17967,7 +17997,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}
engines: {node: '>=4'}
peerDependencies:
@@ -17988,11 +18018,11 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
debug: 3.2.7
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dev: true
@@ -18018,7 +18048,7 @@ packages:
eslint: 8.56.0
find-up: 5.0.0
lodash.memoize: 4.1.2
- semver: 7.5.4
+ semver: 7.6.3
dev: true
@@ -18068,7 +18098,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==}
engines: {node: '>=4'}
peerDependencies:
@@ -18079,7 +18109,7 @@ packages:
optional: true
dependencies:
'@rtsao/scc': 1.1.0
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
array-includes: 3.1.8
array.prototype.findlastindex: 1.2.5
array.prototype.flat: 1.3.2
@@ -18088,7 +18118,7 @@ packages:
doctrine: 2.1.0
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -18316,7 +18346,7 @@ packages:
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
- debug: 4.3.6([email protected])
+ debug: 4.3.6
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.2.2
@@ -20030,7 +20060,7 @@ packages:
dependencies:
'@tootallnate/once': 2.0.0
agent-base: 6.0.2
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
@@ -20077,7 +20107,7 @@ packages:
engines: {node: '>= 6.0.0'}
dependencies:
agent-base: 5.1.1
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -20087,7 +20117,7 @@ packages:
engines: {node: '>= 6'}
dependencies:
agent-base: 6.0.2
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
@@ -20096,7 +20126,7 @@ packages:
engines: {node: '>= 14'}
dependencies:
agent-base: 7.1.1
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
transitivePeerDependencies:
- supports-color
dev: false
@@ -22303,7 +22333,7 @@ packages:
resolution: {integrity: sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA==}
dependencies:
'@types/debug': 4.1.7
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
decode-named-character-reference: 1.0.2
micromark-core-commonmark: 1.0.6
micromark-factory-space: 1.0.0
@@ -22326,7 +22356,7 @@ packages:
resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==}
dependencies:
'@types/debug': 4.1.7
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
decode-named-character-reference: 1.0.2
devlop: 1.1.0
micromark-core-commonmark: 2.0.1
@@ -25509,7 +25539,7 @@ packages:
resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}
hasBin: true
dependencies:
- is-core-module: 2.13.1
+ is-core-module: 2.15.1
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
@@ -25572,7 +25602,7 @@ packages:
resolution: {integrity: sha512-wfI3pk7EE80lCIXprqh7ym48IHYdwmAAzESdbU8Q9l7pnRCk9LEhpbOTNKjz6FARLm/Bl5m+4F0ABxOkYUujSQ==}
engines: {node: '>=12'}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
extend: 3.0.2
transitivePeerDependencies:
- supports-color
@@ -25887,6 +25917,7 @@ packages:
hasBin: true
dependencies:
lru-cache: 6.0.0
+ dev: false
resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==}
@@ -26343,7 +26374,7 @@ packages:
resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
detect-node: 2.1.0
hpack.js: 2.1.6
obuf: 1.1.2
@@ -26357,7 +26388,7 @@ packages:
resolution: {integrity: sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==}
engines: {node: '>=6.0.0'}
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
handle-thing: 2.0.1
http-deceiver: 1.2.7
select-hose: 2.0.0
@@ -28028,7 +28059,7 @@ packages:
hasBin: true
dependencies:
cac: 6.7.14
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
mlly: 1.5.0
pathe: 1.1.2
picocolors: 1.1.0
@@ -28049,7 +28080,7 @@ packages:
hasBin: true
dependencies:
cac: 6.7.14
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
mlly: 1.5.0
pathe: 1.1.2
picocolors: 1.1.0
@@ -28071,7 +28102,7 @@ packages:
hasBin: true
dependencies:
cac: 6.7.14
- debug: 4.3.6([email protected])
+ debug: 4.3.7([email protected])
pathe: 1.1.2
picocolors: 1.1.0
vite: 5.4.6(@types/[email protected])
@@ -28094,7 +28125,7 @@ packages:
vite:
optional: true
dependencies:
- debug: 4.3.6([email protected])
+ debug: 4.3.6
globrex: 0.1.2
tsconfck: 3.1.3([email protected])
vite: 5.4.6(@types/[email protected])
@@ -28339,7 +28370,7 @@ packages:
cac: 6.7.14
chai: 4.4.1
concordance: 5.0.4
- debug: 4.3.6([email protected])
+ debug: 4.3.6
happy-dom: 14.5.1
jsdom: 21.1.0
local-pkg: 0.4.3
@@ -28407,7 +28438,7 @@ packages:
cac: 6.7.14
chai: 4.4.1
concordance: 5.0.4
- debug: 4.3.6([email protected])
+ debug: 4.3.6
local-pkg: 0.4.3
magic-string: 0.30.5
pathe: 1.1.2
diff --git a/tsconfig.json b/tsconfig.json
index 6b87661740..24d0f731c4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -69,6 +69,9 @@
{
"path": "./packages/it-tests"
},
+ {
+ "path": "./packages/eslint-config-internal"
+ },
{
"path": "./packages/lambda"
},