Merge pull request #2914 from hsanson/2913-fix-checkstyle-config-with-options

Fix 2913 - checkstyle config file ignored.
This commit is contained in:
w0rp 2020-07-21 12:49:55 +01:00 committed by GitHub
commit 68b484a49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -20,11 +20,11 @@ Execute(The checkstyle executable should be configurable):
\ . ' %s' \ . ' %s'
Execute(Custom options should be supported): Execute(Custom options should be supported):
let b:ale_java_checkstyle_options = '--foobar' let b:ale_java_checkstyle_options = '--foobar -cp -classpath /path/to/checkstyle-8.7-all.jar'
AssertLinter 'checkstyle', AssertLinter 'checkstyle',
\ ale#Escape('checkstyle') \ ale#Escape('checkstyle')
\ . ' --foobar' \ . ' --foobar -cp -classpath /path/to/checkstyle-8.7-all.jar'
\ . ' -c ' . ale#Escape('/google_checks.xml') \ . ' -c ' . ale#Escape('/google_checks.xml')
\ . ' %s' \ . ' %s'