From 65f5e15af5d672aec3f538ebd7ce9f2c7bac7e9f Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 3 Oct 2016 23:24:18 +0100 Subject: Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file. --- ale_linters/scss/sasslint.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ale_linters/scss/sasslint.vim (limited to 'ale_linters/scss/sasslint.vim') 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', +\}) -- cgit v1.2.3