Skip to content

Commit

Permalink
Merge pull request #25 from Alirezaja1384/pre-commit
Browse files Browse the repository at this point in the history
Linting pre-commit
  • Loading branch information
Alirezaja1384 authored Aug 21, 2024
2 parents 8f3d870 + bb8e11c commit 15adfe9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 15adfe9

Please sign in to comment.