Implement support for apkbuild-fixer (#4881)

I am not the author of a single file, but have full permissions from the
original author for permission for submitting this to ALE under the
2-Clause BSD licence.

See: https://gitlab.alpinelinux.org/Leo/apkbuild.vim/-/issues/3
This commit is contained in:
Hugo authored and GitHub committed 2024-12-29 13:37:33 +09:00
1 parent e82fd24943
commit d69f8fed73
7 files changed
+79 -1

No files matched your search

+5
View File
@@ -17,6 +17,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['help'],
\ 'description': 'Align help tags to the right margin',
\ },
\ 'apkbuild-fixer': {
\ 'function': 'ale#fixers#apkbuild_fixer#Fix',
\ 'suggested_filetypes': ['apkbuild'],
\ 'description': 'Fix policy violations found by apkbuild-lint in APKBUILDs',
\ },
\ 'autoimport': {
\ 'function': 'ale#fixers#autoimport#Fix',
\ 'suggested_filetypes': ['python'],