Add cljfmt fixer for clojure files (#4860)
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled

This commit is contained in:
rudolf ordoyne
2024-11-16 20:22:36 -06:00
committed by GitHub
parent 5cc6b933b1
commit defb0ea336
7 changed files with 46 additions and 0 deletions

View File

@@ -16,6 +16,18 @@ g:ale_clojure_clj_kondo_options *g:ale_clojure_clj_kondo_options*
This variable can be changed to modify options passed to clj-kondo.
===============================================================================
cljfmt *ale-clojure-cljfmt*
cljfmt is a linter and fixer for Clojure code, with defaults adhering to the
Clojure Style Guide (see https://guide.clojure.style/ )
https://github.com/weavejester/cljfmt
Linting options are not configurable by ale, but instead are controlled by
Leiningen, or a cljfmt file in the current or parent directories.
see https://github.com/weavejester/cljfmt#Configuration for more information.
===============================================================================
joker *ale-clojure-joker*

View File

@@ -112,6 +112,7 @@ Notes:
* `foodcritic`!!
* Clojure
* `clj-kondo`
* `cljfmt`
* `joker`
* CloudFormation
* `cfn-python-lint`

View File

@@ -2946,6 +2946,7 @@ documented in additional help files.
foodcritic............................|ale-chef-foodcritic|
clojure.................................|ale-clojure-options|
clj-kondo.............................|ale-clojure-clj-kondo|
cljfmt................................|ale-clojure-cljfmt|
joker.................................|ale-clojure-joker|
cloudformation..........................|ale-cloudformation-options|
cfn-python-lint.......................|ale-cloudformation-cfn-python-lint|