summaryrefslogtreecommitdiff
path: root/test/linter/test_clj_kondo.vader
blob: 869f9f2a5be4c7b444c320d4764341392f808e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
  call ale#assert#SetUpLinterTest('clojure', 'clj_kondo')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):
  AssertLinter 'clj-kondo', 'clj-kondo'
  \   . ' --cache --lint %t'

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'