1
0
mirror of https://github.com/NickKaramoff/shareon synced 2025-02-08 07:38:52 +01:00

Add local pre-commit hook to format with Deno

This commit is contained in:
Nikita Karamov 2025-01-28 07:44:31 +01:00
parent 5267bcbd47
commit a1f8420bf9

View File

@ -1,3 +1,7 @@
ci:
skip:
- deno-fmt
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
@ -11,6 +15,22 @@ repos:
- id: check-json
- id: check-toml
- id: check-yaml
- repo: local
hooks:
- id: deno-fmt
name: deno fmt
entry: deno fmt
language: system
types_or:
- html
- css
- javascript
- ts
- json
- yaml
exclude_types:
- markdown
exclude: ^pnpm-lock\.yaml$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.14.0"
hooks: