mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-28 22:02:31 +08:00
Pass input via stdin and filename as arg to clj-kondo (#4315)
This allows using linters like `:namespace-name-mismatch`. This replaces: https://github.com/dense-analysis/ale/pull/4109
This commit is contained in:
@@ -6,10 +6,10 @@ After:
|
||||
|
||||
Execute(The default command should be correct):
|
||||
AssertLinter 'clj-kondo', 'clj-kondo'
|
||||
\ . ' --cache --lint %t'
|
||||
\ . ' --cache --lint - --filename %s'
|
||||
|
||||
Execute(Extra options should be supported):
|
||||
let g:ale_clojure_clj_kondo_options = '--config ./clj-kondo/config.edn'
|
||||
|
||||
AssertLinter 'clj-kondo', 'clj-kondo'
|
||||
\ . ' --config ./clj-kondo/config.edn --lint %t'
|
||||
\ . ' --config ./clj-kondo/config.edn --lint - --filename %s'
|
||||
|
||||
Reference in New Issue
Block a user