Skip to content

Commit

Permalink
feat: #392 kotlin language linter support (#444)
Browse files Browse the repository at this point in the history
secureli-392

<!-- Include general description here -->
Add linting support for Kotlin

## Changes
<!-- A detailed list of changes -->
* Implemented `ktlint` in addition to `detekt` for Kotlin repos

## Testing
<!--
Mention updated tests and any manual testing performed.
Are aspects not yet tested or not easily testable?
Feel free to include screenshots if appropriate.
 -->
* All existing unit tests are passing

## Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- [x] Meets acceptance criteria for issue
- [ ] New logic is covered with automated tests
- [ ] Appropriate exception handling added
- [ ] Thoughtful logging included
- [ ] Documentation is updated
- [ ] Follow-up work is documented in TODOs
- [ ] TODOs have a ticket associated with them
- [x] No commented-out code included


<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->
  • Loading branch information
isaac-heist-slalom authored Feb 15, 2024
1 parent ffd0d60 commit 0ac7008
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ repos:
rev: v1.23.4
hooks:
- id: detekt
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
hooks:
- id: pretty-format-kotlin
args: [--autofix]

0 comments on commit 0ac7008

Please sign in to comment.