summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOskar Grunning <oskargrunning@gmail.com>2018-12-06 19:23:31 +0100
committerBjorn Neergaard <bjorn@neersighted.com>2018-12-06 11:23:31 -0700
commit2760cf7018893b42c4ae5c750a7f1d38669aa821 (patch)
treed87a8e0c0925ce1f61065430100ad65723ad8a0f /doc
parentdc61d46e2867c485abb6ae761327a8ef036e8098 (diff)
downloadale-2760cf7018893b42c4ae5c750a7f1d38669aa821.zip
refactor sasslint linter (#2077)
Previous implementation required one to have sass-lint globally. This allows you to have it locally, override the executable and add options.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-sass.txt6
-rw-r--r--doc/ale-scss.txt27
-rw-r--r--doc/ale.txt2
3 files changed, 35 insertions, 0 deletions
diff --git a/doc/ale-sass.txt b/doc/ale-sass.txt
index 08e9a381..735f44b2 100644
--- a/doc/ale-sass.txt
+++ b/doc/ale-sass.txt
@@ -3,6 +3,12 @@ ALE SASS Integration *ale-sass-options*
===============================================================================
+sasslint *ale-sass-sasslint*
+
+See |ale-scss-sasslint| for information about the available options.
+
+
+===============================================================================
stylelint *ale-sass-stylelint*
g:ale_sass_stylelint_executable *g:ale_sass_stylelint_executable*
diff --git a/doc/ale-scss.txt b/doc/ale-scss.txt
index 3ad84fc1..07a94fe1 100644
--- a/doc/ale-scss.txt
+++ b/doc/ale-scss.txt
@@ -9,6 +9,33 @@ See |ale-javascript-prettier| for information about the available options.
===============================================================================
+sasslint *ale-scss-sasslint*
+
+g:ale_scss_sasslint_executable *g:ale_scss_sasslint_executable*
+ *b:ale_scss_sasslint_executable*
+ Type: |String|
+ Default: `'sass-lint'`
+
+ See |ale-integrations-local-executables|
+
+
+g:ale_scss_sasslint_options *g:ale_scss_sasslint_options*
+ *b:ale_scss_sasslint_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to sass-lint.
+
+
+g:ale_scss_sasslint_use_global *g:ale_scss_sasslint_use_global*
+ *b:ale_scss_sasslint_use_global*
+ Type: |Number|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+
+===============================================================================
stylelint *ale-scss-stylelint*
g:ale_scss_stylelint_executable *g:ale_scss_stylelint_executable*
diff --git a/doc/ale.txt b/doc/ale.txt
index 1a37f73f..92a100f9 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -288,6 +288,7 @@ CONTENTS *ale-contents*
rustc...............................|ale-rust-rustc|
rustfmt.............................|ale-rust-rustfmt|
sass..................................|ale-sass-options|
+ sasslint............................|ale-sass-sasslint|
stylelint...........................|ale-sass-stylelint|
scala.................................|ale-scala-options|
sbtserver...........................|ale-scala-sbtserver|
@@ -295,6 +296,7 @@ CONTENTS *ale-contents*
scalastyle..........................|ale-scala-scalastyle|
scss..................................|ale-scss-options|
prettier............................|ale-scss-prettier|
+ sasslint............................|ale-scss-sasslint|
stylelint...........................|ale-scss-stylelint|
sh....................................|ale-sh-options|
sh-language-server..................|ale-sh-language-server|