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:
@@ -1,14 +1,14 @@
|
||||
" Author: KabbAmine - https://github.com/KabbAmine
|
||||
|
||||
if exists('g:loaded_ale_linters_scss_sassLint')
|
||||
if exists('g:loaded_ale_linters_scss_sasslint')
|
||||
finish
|
||||
endif
|
||||
|
||||
let g:loaded_ale_linters_scss_sassLint = 1
|
||||
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',
|
||||
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
|
||||
\})
|
||||
Reference in New Issue
Block a user