Skip to content

Commit

Permalink
chore: Update .pre-commit-config.yaml to include ktlint and detekt (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvesh-sharma-yral authored Dec 4, 2024
1 parent a7e2fe6 commit 635dc01
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@ repos:
hooks:
- id: swiftlint
entry: swiftlint --strict

- repo: local
hooks:
- id: ktlint
name: ktlint
entry: ktlint
language: system
types: [kotlin]
pass_filenames: true

- id: detekt
name: detekt
entry: detekt
language: system
types: [kotlin]
pass_filenames: true

0 comments on commit 635dc01

Please sign in to comment.