diff options
author | Christoph Frick <cf@ofnir.net> | 2022-09-22 00:24:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 07:24:01 +0900 |
commit | a56d51ec1cd40172e94a6cb017049c0a7fed08e5 (patch) | |
tree | dc2f8b16e794e0b476aee920dc8446662cbb9a06 /test/linter | |
parent | e73f0f5cb3856b7a8bfa9c51d4bf40bca5553945 (diff) | |
download | ale-a56d51ec1cd40172e94a6cb017049c0a7fed08e5.zip |
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
Diffstat (limited to 'test/linter')
-rw-r--r-- | test/linter/test_clj_kondo.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/linter/test_clj_kondo.vader b/test/linter/test_clj_kondo.vader index 869f9f2a..e62211c4 100644 --- a/test/linter/test_clj_kondo.vader +++ b/test/linter/test_clj_kondo.vader @@ -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' |