diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/sass/sassLint.vim | 14 | ||||
-rw-r--r-- | ale_linters/scss/sassLint.vim | 14 |
2 files changed, 28 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', +\}) diff --git a/ale_linters/scss/sassLint.vim b/ale_linters/scss/sassLint.vim new file mode 100644 index 00000000..b49728fb --- /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_linters#css#csslint#Handle', +\}) |