diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9ba85e2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,20 @@ +repos: + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.4.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + always_run: true + args: [] + + - repo: local + hooks: + - id: lint + name: lint + pass_filenames: false + entry: npm run lint + stages: [commit] + language: system + types_or: + - ts + - javascript