From 84b280b88178b2321eb7eaf74701e7a355e47886 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 3 Jul 2017 16:57:39 +0100 Subject: Fix #178 - Check Stylus files with stylelint --- doc/ale-stylus.txt | 33 +++++++++++++++++++++++++++++++++ doc/ale.txt | 3 +++ 2 files changed, 36 insertions(+) create mode 100644 doc/ale-stylus.txt (limited to 'doc') diff --git a/doc/ale-stylus.txt b/doc/ale-stylus.txt new file mode 100644 index 00000000..ac333358 --- /dev/null +++ b/doc/ale-stylus.txt @@ -0,0 +1,33 @@ +=============================================================================== +ALE CSS Integration *ale-stylus-options* + + +------------------------------------------------------------------------------- +stylelint *ale-stylus-stylelint* + +g:ale_stylus_stylelint_executable *g:ale_stylus_stylelint_executable* + *b:ale_stylus_stylelint_executable* + Type: |String| + Default: `'stylelint'` + + See |ale-integrations-local-executables| + + +g:ale_stylus_stylelint_options *g:ale_stylus_stylelint_options* + *b:ale_stylus_stylelint_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to stylelint. + + +g:ale_stylus_stylelint_use_global *g:ale_stylus_stylelint_use_global* + *b:ale_stylus_stylelint_use_global* + Type: |String| + Default: `0` + + See |ale-integrations-local-executables| + + +------------------------------------------------------------------------------- + vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index d9c989be..ad32619a 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -96,6 +96,8 @@ CONTENTS *ale-contents* shellcheck..........................|ale-sh-shellcheck| spec..................................|ale-spec-options| rpmlint.............................|ale-spec-rpmlint| + stylus................................|ale-stylus-options| + stylelint...........................|ale-stylus-stylelint| tex...................................|ale-tex-options| chktex..............................|ale-tex-chktex| lacheck.............................|ale-tex-lacheck| @@ -202,6 +204,7 @@ The following languages and tools are supported. * Scala: 'scalac' * Slim: 'slim-lint' * SML: 'smlnj' +* Stylus: 'stylelint' * SQL: 'sqlint' * Swift: 'swiftlint' * Texinfo: 'proselint' -- cgit v1.2.3