Skip to content

Commit

Permalink
feat: add precommit prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioMrtz committed Sep 14, 2024
1 parent 6361b5e commit c14ccf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ pnpm-debug.log*

# jetbrains setting folder
.idea/

venv/
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
files: '\.(js|jsx|ts|tsx|css|scss|html|json|md)$'

0 comments on commit c14ccf4

Please sign in to comment.