Skip to content

Commit

Permalink
feat: Add docker_hot_format hook
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Dec 5, 2023
1 parent 76e6b52 commit ce45c3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
args: [lint:fix]
files: '^(resources/(js|ts)|package(-lock)?\.json)'
pass_filenames: false
- id: docker_hot_format
name: Stylelint
entry: docker-compose run --rm -T hot npm run
args: [format]
language: system
files: '^(resources/.*\.(vue|css)|package(-lock)?\.json)'
pass_filenames: false
- id: docker_hot_stylelint
name: Stylelint
entry: docker-compose run --rm -T hot npm run
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repos:
rev: v0.0.5
hooks:
- id: docker_hot_eslint
- id: docker_hot_format
- id: docker_hot_stylelint
- id: docker_hot_pint
- id: docker_hot_larastan
Expand All @@ -25,6 +26,8 @@ repos:

### docker_hot_stylelint

### docker_hot_format

### docker_hot_pint

### docker_hot_larastan
Expand Down

0 comments on commit ce45c3d

Please sign in to comment.