diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-10-31 18:38:14 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-01-22 14:04:26 -0300 |
commit | 32c0eb7c4291086e7af9234efc3762d13047f4c7 (patch) | |
tree | 6d9bc9ad2d52b759f66e73cdc89c9bac794bd8f0 /ale_linters/apkbuild/apkbuild_lint.vim | |
parent | 99a809c814880e8e592e8150dc39fd7a5b584371 (diff) | |
download | ale-32c0eb7c4291086e7af9234efc3762d13047f4c7.zip |
Add linters for apkbuild-lint and secfixes-check from atools
Diffstat (limited to 'ale_linters/apkbuild/apkbuild_lint.vim')
-rw-r--r-- | ale_linters/apkbuild/apkbuild_lint.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ale_linters/apkbuild/apkbuild_lint.vim b/ale_linters/apkbuild/apkbuild_lint.vim new file mode 100644 index 00000000..285f5534 --- /dev/null +++ b/ale_linters/apkbuild/apkbuild_lint.vim @@ -0,0 +1,12 @@ +" Author: Leo <thinkabit.ukim@gmail.com> +" Description: apkbuild-lint from atools linter for APKBUILDs + +call ale#Set('apkbuild_apkbuild_lint_executable', 'apkbuild-lint') + +call ale#linter#Define('apkbuild', { +\ 'name': 'apkbuild_lint', +\ 'output_stream': 'stdout', +\ 'executable': {b -> ale#Var(b, 'apkbuild_apkbuild_lint_executable')}, +\ 'command': '%e %t', +\ 'callback': 'ale#handlers#atools#Handle', +\}) |