Skip to content

Commit

Permalink
feat: Introduce pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynetik committed Oct 7, 2024
1 parent a669650 commit 67db291
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SEDA_DATA_PROXY_PRIVATE_KEY=
SEDA_DATA_PROXY_PRIVATE_KEY=
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ dist
# Finder (MacOS) folder config
.DS_Store
config.json
data-proxy-private-key.json
data-proxy-private-key.json
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ COPY ./docker-entrypoint.sh ./docker-entrypoint.sh
RUN chmod +x ./docker-entrypoint.sh

ENTRYPOINT ["sh", "./docker-entrypoint.sh"]

2 changes: 1 addition & 1 deletion bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[test]
preload = ["./test-setup.ts"]
preload = ["./test-setup.ts"]
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ services:
networks:
proxy-network:
driver: bridge

0 comments on commit 67db291

Please sign in to comment.