Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file.

This commit is contained in:
w0rp
2016-10-03 23:24:18 +01:00
parent 406e5db352
commit 65f5e15af5
4 changed files with 54 additions and 54 deletions

View File

@@ -1,14 +1,14 @@
" Author: KabbAmine - https://github.com/KabbAmine
if exists('g:loaded_ale_linters_sass_sassLint')
if exists('g:loaded_ale_linters_sass_sasslint')
finish
endif
let g:loaded_ale_linters_sass_sassLint = 1
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',
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
\})