summaryrefslogtreecommitdiff
path: root/ale_linters/sass/sasslint.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-03 23:24:18 +0100
committerw0rp <devw0rp@gmail.com>2016-10-03 23:24:18 +0100
commit65f5e15af5d672aec3f538ebd7ce9f2c7bac7e9f (patch)
tree58668f82413364af6e0539b0276df476801286d9 /ale_linters/sass/sasslint.vim
parent406e5db35215c74a025159d4ffdffaffc535be93 (diff)
downloadale-65f5e15af5d672aec3f538ebd7ce9f2c7bac7e9f.zip
Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file.
Diffstat (limited to 'ale_linters/sass/sasslint.vim')
-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..278ba997
--- /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#handlers#HandleCSSLintFormat',
+\})