Fix #178 - Check Stylus files with stylelint

This commit is contained in:
w0rp
2017-07-03 16:57:39 +01:00
parent 160b9548ee
commit 84b280b881
4 changed files with 61 additions and 0 deletions

33
doc/ale-stylus.txt Normal file
View File

@@ -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:

View File

@@ -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'