mirror of
https://github.com/NickKaramoff/shareon
synced 2025-03-09 16:00:17 +01:00
Add local pre-commit hook to lint with Deno
This commit is contained in:
parent
abfc303a55
commit
e4f786f938
@ -1,6 +1,7 @@
|
||||
ci:
|
||||
skip:
|
||||
- deno-fmt
|
||||
- deno-lint
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
@ -31,6 +32,14 @@ repos:
|
||||
exclude_types:
|
||||
- markdown
|
||||
exclude: ^pnpm-lock\.yaml$
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: deno-lint
|
||||
name: deno lint
|
||||
entry: deno lint
|
||||
args: ["--fix"]
|
||||
language: system
|
||||
files: '\.[cm]?[jt]s$'
|
||||
- repo: https://github.com/kytta/mirrors-svgo
|
||||
rev: v4.0.0-rc.1
|
||||
hooks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user