summaryrefslogtreecommitdiff
path: root/ale_linters/sass
diff options
context:
space:
mode:
authorKabbaj Amine <amine.kabb@gmail.com>2016-10-03 21:02:21 +0300
committerw0rp <devw0rp@gmail.com>2016-10-03 23:12:10 +0100
commit406e5db35215c74a025159d4ffdffaffc535be93 (patch)
tree3e9662bdca81f6350b9386d1f5ac3f40beb51dd2 /ale_linters/sass
parent66ee919756b1198b4b7cd1a3ac49368f704db5b1 (diff)
downloadale-406e5db35215c74a025159d4ffdffaffc535be93.zip
Add sass/scss support with sass-lint
Diffstat (limited to 'ale_linters/sass')
-rw-r--r--ale_linters/sass/sassLint.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/ale_linters/sass/sassLint.vim b/ale_linters/sass/sassLint.vim
new file mode 100644
index 00000000..fee50162
--- /dev/null
+++ b/ale_linters/sass/sassLint.vim
@@ -0,0 +1,14 @@
+" Author: KabbAmine - https://github.com/KabbAmine
+
+if exists('g:loaded_ale_linters_sass_sassLint')
+ finish
+endif
+
+let g:loaded_ale_linters_sass_sassLint = 1
+
+call ALEAddLinter('sass', {
+\ 'name': 'sassLint',
+\ 'executable': 'sass-lint',
+\ 'command': g:ale#util#stdin_wrapper . ' .sass sass-lint -v -q -f compact',
+\ 'callback': 'ale_linters#css#csslint#Handle',
+\})