BREAKING: Bump ESLint to ^9.11.1
, bump related ESLint dependencies, and rewrite configs to use flat configs
#515
Annotations
7 errors and 1 warning
Run yarn test:
packages/browser/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test:
packages/base/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test:
packages/commonjs/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test:
packages/jest/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test:
packages/mocha/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test:
packages/nodejs/src/index.test.mjs#L12
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
Occurred while linting /home/runner/work/eslint-config/eslint-config/__placeholder__.js
❯ detectJestVersion ../../node_modules/eslint-plugin-jest/lib/rules/utils/detectJestVersion.js:22:9
❯ create ../../node_modules/eslint-plugin-jest/lib/rules/no-deprecated-functions.js:31:107
❯ Object.create ../../node_modules/@typescript-eslint/utils/src/eslint-utils/RuleCreator.ts:99:14
❯ createRuleListeners ../../node_modules/eslint/lib/linter/linter.js:943:21
❯ ../../node_modules/eslint/lib/linter/linter.js:1068:84
❯ runRules ../../node_modules/eslint/lib/linter/linter.js:999:34
❯ Linter.#flatVerifyWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1914:31
❯ Linter._verifyWithFlatConfigArrayAndWithoutProcessors ../../node_modules/eslint/lib/linter/linter.js:1995:49
❯ Linter._verifyWithFlatConfigArray ../../node_modules/eslint/lib/linter/linter.js:2084:21
❯ Linter.verify ../../node_modules/eslint/lib/linter/linter.js:1528:61
❯ Linter.verifyAndFix ../../node_modules/eslint/lib/linter/linter.js:2322:29
❯ verifyText ../../node_modules/eslint/lib/eslint/eslint.js:574:48
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1144:26
❯ src/index.test.mjs:12:20
|
Run yarn test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading