fix linting for vim for scss/sass/js
parent
8e8e604cb3
commit
5095c081e8
@ -1,13 +1,15 @@
|
||||
" Syntastic
|
||||
"======================================================================
|
||||
|
||||
" no checking for xhtml/html -- because of fluidtemplate for TYPO3
|
||||
" and no checking for scss.css because of CSS3 and SASS-Variable
|
||||
" no checking for xhtml/html
|
||||
let g:syntastic_sass_checkers = ['sass_lint']
|
||||
let g:syntastic_scss_checkers = ['sass_lint']
|
||||
let g:syntastic_css_checkers = ['sass_lint']
|
||||
let g:syntastic_javascript_checkers = ['eslint']
|
||||
let g:syntastic_json_checkers = ['jsonlint']
|
||||
let g:syntastic_auto_jump = 0
|
||||
let g:syntastic_mode_map = {
|
||||
\ 'mode': 'active',
|
||||
\ 'active_filetypes': ['php', 'javascript', 'json'],
|
||||
\ 'passive_filetypes': ['xhtml', 'html', 'css', 'scss', 'sass']
|
||||
\ 'active_filetypes': ['php', 'javascript', 'json', 'scss', 'sass', 'css'],
|
||||
\ 'passive_filetypes': ['xhtml', 'html']
|
||||
\ }
|
||||
|
Loading…
Reference in New Issue