Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ktlint 1.3.1; initial format, pre-commit hook, and GitHub Action #2

Merged
merged 7 commits into from
Sep 6, 2024

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    955918e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    addbd6f View commit details
    Browse the repository at this point in the history
  3. ktlint --format

    darronschall committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    2bb8d42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2990005 View commit details
    Browse the repository at this point in the history
  5. Add .git-blame-ignore-revs and ignore initial ktlint format

    Don't forget to run `git config --global blame.ignoreRevsFile .git-blame-ignore-revs` to exclude these commits from `git blame`
    darronschall committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    7f799b1 View commit details
    Browse the repository at this point in the history
  6. Add ktlint as a pre-commit git hook

    Remember to configure git locally such that this pre-commit hook runs properly: `git config --local core.hooksPath .githooks/`
    darronschall committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    1a875b9 View commit details
    Browse the repository at this point in the history
  7. Add ktlint README badge

    darronschall committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    dc660ac View commit details
    Browse the repository at this point in the history