mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-23 17:10:53 +00:00
feat: Enable automatically formatting code using pre-commit
This commit is contained in:
parent
3d81dbf023
commit
5f41732064
1 changed files with 9 additions and 0 deletions
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal file
|
@ -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]
|
Loading…
Reference in a new issue