-
-
Notifications
You must be signed in to change notification settings - Fork 925
Closed
Description
search you tried in the issue tracker
is:issue is:open "not found" in:title executable in:title
describe your issue
After clearing my local pre-commit cache with pre-commit clean and then checking my code with pre-commit run --all-files...
The eslint dependency as well as the additional eslint dependencies are pulled down from mirrors-eslint
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-eslint.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-eslint:@typescript-eslint/eslint-plugin@6.11.0,@typescript-eslint/parser@6.11.0,eslint@8.54.0,eslint-config-prettier@9.0.0,eslint-plugin-i18next@6.0.3,eslint-plugin-import@2.29.0,eslint-plugin-prettier@5.0.1,eslint-plugin-storybook@0.6.15,eslint-plugin-unicorn@49.0.0,eslint-plugin-unused-imports@3.0.0,prettier@3.1.0.
...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-eslint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...and the eslint hook runs but fails with Executable 'eslint' not found as follows:
eslint...................................................................Failed
- hook id: eslint
- exit code: 1
Executable `eslint` not foundThis change has happened in the last 3 weeks. It is now failing for completely unchanged code that has been re-run since 21 June 2024 at 17:51:49 BST which is when it last worked without any errors.
pre-commit --version
pre-commit 3.6.2
.pre-commit-config.yaml
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.54.0
hooks:
- id: eslint
additional_dependencies:
- '@typescript-eslint/eslint-plugin@5.59.7'
- '@typescript-eslint/parser@5.59.7'
- eslint@8.54.0
- eslint-config-prettier@8.8.0
- eslint-plugin-i18next@6.0.0-8
- eslint-plugin-import@2.27.5
- eslint-plugin-prettier@5.0.0
- eslint-plugin-storybook@0.6.11
- eslint-plugin-unicorn@38.0.1
- eslint-plugin-unused-imports@2.0.0
- esquery@1.4.0 # 1.4.1 breaks eslint, so we have to explicitly pin this version
files: '^my_frontend\/(.*)\.[jt]sx?$'
types: [file]
args: ['--parser-options', '{ tsconfigRootDir: "my_frontend" }', '--fix']~/.cache/pre-commit/pre-commit.log (if present)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels