Skip to content

Commit

Permalink
Do not fix staged linted js files
Browse files Browse the repository at this point in the history
  • Loading branch information
vpmedia committed Jan 16, 2024
1 parent 78e9163 commit eee2698
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ pre-commit:
glob: "*.{js,ts,jsx,tsx}"
run: |
set -e
./node_modules/.bin/eslint --fix {staged_files}
git add {staged_files} &> /dev/null || true
./node_modules/.bin/eslint {staged_files}

0 comments on commit eee2698

Please sign in to comment.