Skip to content

Commit 8ee48f7

Browse files
committed
can't get local eslint to run
back to the hook
1 parent 466644a commit 8ee48f7

File tree

3 files changed

+58
-1885
lines changed

3 files changed

+58
-1885
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ repos:
2727
- "--print-width=100"
2828

2929
# Lint
30-
- repo: local
30+
- repo: https://github.com/pre-commit/mirrors-eslint
31+
rev: v9.26.0
3132
hooks:
3233
- id: eslint
33-
name: eslint
34-
entry: npm run lint
35-
language: node
36-
types_or:
37-
- javascript
34+
additional_dependencies:
35+
- "eslint@^9.26.0"
36+
- "@eslint/js@^9.26.0"
37+
- "globals@^16.1.0"
3838

3939
# pre-commit.ci config reference: https://pre-commit.ci/#configuration
4040
ci:

0 commit comments

Comments
 (0)