Skip to content

Commit

Permalink
Moved prettier to be last pre-commit step
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <george.gcac@gmail.com>
  • Loading branch information
george-gca committed Oct 18, 2024
1 parent d5c4c1a commit 3594743
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,8 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- repo: local
hooks:
- id: format-code
name: Format code files with Prettier
entry: bash run_on_code_changed.sh
language: system
types_or: [css, html, javascript, json, sass, scss, yaml]
verbose: true
- repo: local
hooks:
- id: format-data
Expand All @@ -21,3 +12,11 @@ repos:
language: system
types: [json]
verbose: true
- repo: local
hooks:
- id: format-code
name: Format code files with Prettier
entry: bash run_on_code_changed.sh
language: system
types_or: [css, html, javascript, json, sass, scss, yaml]
verbose: true

0 comments on commit 3594743

Please sign in to comment.