Skip to content

Commit a5b21fa

Browse files
committed
Add pre-commit
This will help to start improving the code as we write it Signed-off-by: jonathan.kerr <[email protected]>
1 parent d2f50d9 commit a5b21fa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- repo: https://github.com/mattlqx/pre-commit-ruby
8+
rev: v1.3.6
9+
hooks:
10+
- id: rubocop
11+
- id: rspec

0 commit comments

Comments
 (0)