Skip to content

Commit 2cebe7d

Browse files
authored
Merge pull request #137 from Carreau/precommit
Suggestion: Add pre-commit to format js and css files.
2 parents 33e1c57 + 62e6953 commit 2cebe7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-prettier
3+
rev: 'f12edd9' # Use the sha / tag you want to point at
4+
hooks:
5+
- id: prettier
6+
types_or: [css, javascript]
7+

0 commit comments

Comments
 (0)