summaryrefslogtreecommitdiff
path: root/ale_linters/scss/sasslint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/scss/sasslint.vim')
-rw-r--r--ale_linters/scss/sasslint.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/ale_linters/scss/sasslint.vim b/ale_linters/scss/sasslint.vim
new file mode 100644
index 00000000..a02f7ee6
--- /dev/null
+++ b/ale_linters/scss/sasslint.vim
@@ -0,0 +1,14 @@
+" Author: KabbAmine - https://github.com/KabbAmine
+
+if exists('g:loaded_ale_linters_scss_sasslint')
+ finish
+endif
+
+let g:loaded_ale_linters_scss_sasslint = 1
+
+call ALEAddLinter('scss', {
+\ 'name': 'sassLint',
+\ 'executable': 'sass-lint',
+\ 'command': g:ale#util#stdin_wrapper . ' .scss sass-lint -v -q -f compact',
+\ 'callback': 'ale#handlers#HandleCSSLintFormat',
+\})