Add prettier to pre-commit and run it
This commit is contained in:
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.7.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
args:
|
||||
- '--print-width=100'
|
||||
- '--single-quote'
|
||||
- '--trailing-comma=all'
|
||||
Reference in New Issue
Block a user