Skip to content

Commit

Permalink
feat: Enable automatically formatting code using pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Jul 25, 2023
1 parent eb220d5 commit dc9b257
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Configuration file for pre-commit (https://pre-commit.com/).
# Please run `pre-commit run --all-files` when adding or changing entries.

repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
hooks:
- id: prettier
stages: [commit]

0 comments on commit dc9b257

Please sign in to comment.