mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-04 02:23:31 +08:00
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
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:
@@ -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*
|
||||
|
||||
@@ -112,6 +112,7 @@ Notes:
|
||||
* `foodcritic`!!
|
||||
* Clojure
|
||||
* `clj-kondo`
|
||||
* `cljfmt`
|
||||
* `joker`
|
||||
* CloudFormation
|
||||
* `cfn-python-lint`
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user