Skip to content

Commit

Permalink
Run prettier for js,jsx files only
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-w-gries committed Nov 11, 2024
1 parent 570b3ed commit d17de42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ repos:
name: Run formatter (prettier)
language: system
entry: npx prettier --write --ignore-unknown
pass_filenames: true
files: ".*\\.(js|jsx)$"
- id: lint
name: Run linter (eslint)
language: system
entry: npx eslint --fix
files: ".*\\.(js|jsx)$"
pass_filenames: true

0 comments on commit d17de42

Please sign in to comment.