diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index d9519d5..84207e9 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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 diff --git a/README.md b/README.md index bfdc513..8401bae 100644 --- a/README.md +++ b/README.md @@ -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 @@ -25,6 +26,8 @@ repos: ### docker_hot_stylelint +### docker_hot_format + ### docker_hot_pint ### docker_hot_larastan