summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2022-05-03 10:34:52 +0900
committerGitHub <noreply@github.com>2022-05-03 10:34:52 +0900
commit204e6294cfa0475e3437364d1c3dff6157fa1b83 (patch)
tree5dc8afd9ceb722890110de7e1b5d7556a9e8d46a /doc
parentc694a241883ec5c33f972a612cfcd464cda3c5fa (diff)
downloadale-204e6294cfa0475e3437364d1c3dff6157fa1b83.zip
Fix 4177 set default yaml linters (#4178)
* Fix 4177 set default yaml linters * Fix 4177 set default yaml linters
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-yaml.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ale-yaml.txt b/doc/ale-yaml.txt
index 7c513fe4..39f5121b 100644
--- a/doc/ale-yaml.txt
+++ b/doc/ale-yaml.txt
@@ -13,6 +13,14 @@ Installation
See installation guide: https://github.com/rhysd/actionlint#quick-start
+This linter is disabled by default and must be enabled byt setting `g:ale_linters`.
+To enable it only for Github Action YAML files a configuration like this is
+better:
+
+>
+ au BufRead,BufNewFile */.github/*/*.y.?ml let b:ale_linters = {'yaml': ['actionlint']}
+<
+
Options
-------------------------------------------------------------------------------