summaryrefslogtreecommitdiff
path: root/ale_linters/apkbuild/secfixes_check.vim
diff options
context:
space:
mode:
authorD. Ben Knoble <ben.knoble+github@gmail.com>2021-01-23 12:29:05 -0500
committerD. Ben Knoble <ben.knoble+github@gmail.com>2021-01-23 12:29:05 -0500
commit2c1c5b06d9554592370f0ad651c21b61334123e4 (patch)
tree1198a97028e8b9bbf8021aed0a13a06ffbc9f402 /ale_linters/apkbuild/secfixes_check.vim
parent10d2b8797c3d4336729f5f6f75edab53733d7642 (diff)
parent9fd9435cd525b1d3c4470db0d514f72ed31cfece (diff)
downloadale-2c1c5b06d9554592370f0ad651c21b61334123e4.zip
Merge branch 'master' into fix-swipl
* master: (133 commits) Add rnix-lsp for Nix diagnostics and completion add spectral support for json add spectral handler add spectral linter for yaml doc: Fix linter issues doc: Add documentation for Deno feat: Add Deno lsp support feat: Add Deno fmt fixer Add document for apkbuild filetype Add tests for atools handler, basic and dealing with Error and Warning Test default linters for apkbuild Document new default linters for apkbuild Make apkbuild_lint and secfixes_check default for apkbuild filetype document support for apkbuild-lint and secfixes-check for apkbuild Add linters for apkbuild-lint and secfixes-check from atools Add handler for the output of atools Fix typos Add command callback tests Add support for standalone files Fix linting errors ...
Diffstat (limited to 'ale_linters/apkbuild/secfixes_check.vim')
-rw-r--r--ale_linters/apkbuild/secfixes_check.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/ale_linters/apkbuild/secfixes_check.vim b/ale_linters/apkbuild/secfixes_check.vim
new file mode 100644
index 00000000..c65267fd
--- /dev/null
+++ b/ale_linters/apkbuild/secfixes_check.vim
@@ -0,0 +1,12 @@
+" Author: Leo <thinkabit.ukim@gmail.com>
+" Description: secfixes-check from atools linter for APKBUILDs
+
+call ale#Set('apkbuild_secfixes_check_executable', 'secfixes-check')
+
+call ale#linter#Define('apkbuild', {
+\ 'name': 'secfixes_check',
+\ 'output_stream': 'stdout',
+\ 'executable': {b -> ale#Var(b, 'apkbuild_secfixes_check_executable')},
+\ 'command': '%e %t',
+\ 'callback': 'ale#handlers#atools#Handle',
+\})