Add PHP Code Sniffer
This commit is contained in:
parent
5b9763f1bd
commit
42a80a0717
2 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
||||||
* shellcheck
|
* shellcheck
|
||||||
* doxygen
|
* doxygen
|
||||||
* docker
|
* docker
|
||||||
|
* php code sniffer
|
||||||
|
|
||||||
### Global NPM packages
|
### Global NPM packages
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ let g:syntastic_c_checkers = ['gcc', 'cppcheck']
|
||||||
let g:syntastic_cpp_checkers = ['gcc', 'cppcheck']
|
let g:syntastic_cpp_checkers = ['gcc', 'cppcheck']
|
||||||
let g:syntastic_javascript_checkers = ['eslint']
|
let g:syntastic_javascript_checkers = ['eslint']
|
||||||
let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
|
let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
|
||||||
|
let g:syntastic_php_checkers = ['php', 'phpcs']
|
||||||
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
|
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
|
||||||
|
|
||||||
" vim-go
|
" vim-go
|
||||||
|
|
Loading…
Reference in a new issue