mirror of
https://github.com/webgefrickel/dotfiles
synced 2024-11-15 12:12:58 +00:00
fix linting for vim for scss/sass/js
This commit is contained in:
parent
8e8e604cb3
commit
5095c081e8
@ -33,6 +33,8 @@ NeoBundle 'justinmk/vim-sneak'
|
|||||||
NeoBundle 'mattn/emmet-vim/'
|
NeoBundle 'mattn/emmet-vim/'
|
||||||
NeoBundle 'moll/vim-node'
|
NeoBundle 'moll/vim-node'
|
||||||
NeoBundle 'scrooloose/syntastic'
|
NeoBundle 'scrooloose/syntastic'
|
||||||
|
NeoBundle 'gcorne/vim-sass-lint'
|
||||||
|
NeoBundle 'mtscout6/syntastic-local-eslint.vim'
|
||||||
NeoBundle 'sheerun/vim-polyglot'
|
NeoBundle 'sheerun/vim-polyglot'
|
||||||
NeoBundle 'tpope/vim-commentary'
|
NeoBundle 'tpope/vim-commentary'
|
||||||
NeoBundle 'tpope/vim-fugitive'
|
NeoBundle 'tpope/vim-fugitive'
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
" Syntastic
|
" Syntastic
|
||||||
"======================================================================
|
"======================================================================
|
||||||
|
|
||||||
" no checking for xhtml/html -- because of fluidtemplate for TYPO3
|
" no checking for xhtml/html
|
||||||
" and no checking for scss.css because of CSS3 and SASS-Variable
|
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_javascript_checkers = ['eslint']
|
||||||
let g:syntastic_json_checkers = ['jsonlint']
|
let g:syntastic_json_checkers = ['jsonlint']
|
||||||
let g:syntastic_auto_jump = 0
|
let g:syntastic_auto_jump = 0
|
||||||
let g:syntastic_mode_map = {
|
let g:syntastic_mode_map = {
|
||||||
\ 'mode': 'active',
|
\ 'mode': 'active',
|
||||||
\ 'active_filetypes': ['php', 'javascript', 'json'],
|
\ 'active_filetypes': ['php', 'javascript', 'json', 'scss', 'sass', 'css'],
|
||||||
\ 'passive_filetypes': ['xhtml', 'html', 'css', 'scss', 'sass']
|
\ 'passive_filetypes': ['xhtml', 'html']
|
||||||
\ }
|
\ }
|
||||||
|
Loading…
Reference in New Issue
Block a user