formatting-stack
formatting-stack copied to clipboard
An efficient, smart, graceful composition of Clojure formatters, linters and such.
## Context Our lein-template adds `;; Please keep the dependencies sorted a-z.` before the `:dependencies`-key in project.clj. There's benefits for sorting this list (friction-free merges, improves readability, ..) ## Task...
## Problem statement Currently the test only asserts the function returns a sequence of files, no behavioural tests. ## Proposal Add tests asserting the exact output of the function-call and...
## Brief Part of https://github.com/nedap/formatting-stack/issues/169 As a prerequisite for #169, I found out that filenames coming from Eastwood reports should be _absolute_, otherwise they wouldn't match with filenames computed by...
## Brief Converts the clj-kondo linter to a plugin, showcasing how to add cli-options, pre-processing, and proper config. ## QA plan ## Author checklist * [ ] I have QAed...
## Brief Initial framework for plugins. The plan is to convert current processors / linters / formatters to plugins. Modelled after [Kaocha](https://github.com/lambdaisland/kaocha). There's several entry-points for plugins to hook into...
## Context These show how symlinks in linters can go wrong: * https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p * https://github.com/justinsteven/advisories/blob/master/2021_github_actions_checkspelling_token_leak_via_advice_symlink.md ## Proposal Do one of these two (likely they aren't compatible): * filter out symlinks...
## Context Sometimes a lint-warning won't need fixing (because edge cases, dev preference, etc.) We want to have a way to ignore recurring warnings from bothering the user. the CI...
## Problem statement Any given linter (particularly Eastwood) can be slow. For the use case of "running `branch-formatter` integrated with the repl", one can observe that one might be linting...
## Brief Given a `defmacro ^:private`, out cljfmt integration will fail to read its indentation spec. ## Expected behavior macros' specified indentation is honored ## Actual behavior It's not ##...
## Context `test!` currently returns the fixed value `nil`. This makes it a limited primitive for creating more substantial functionality. ## Task Make it return a boolean depending on whether...