Skip to content

Commit b1ae2bb

Browse files
committed
use phpstan configuration for ale
1 parent db600e7 commit b1ae2bb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

init.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif
2626
Plug 'tomtom/tlib_vim'
2727
Plug 'MarcWeber/vim-addon-mw-utils'
2828
Plug 'mbbill/undotree'
29-
Plug 'w0rp/ale'
29+
Plug 'dense-analysis/ale'
3030

3131
" Snippets
3232
"if has('python') || has('python3')
@@ -678,13 +678,14 @@ let g:ale_fixers = {
678678
\ 'php': [ 'php_cs_fixer' ],
679679
\}
680680
let g:ale_linters = {
681-
\ 'javascript': ['eslint', 'flow'],
681+
\ 'javascript': ['eslint'],
682682
\}
683683

684684
let g:ale_php_phpcbf_standard = 'PSR2'
685685
let g:ale_php_phpcs_standard = 'PSR2'
686686
let g:ale_php_phpmd_ruleset = 'codesize,controversial,design,unusedcode'
687-
687+
" let g:ale_php_phpstan_configuration = 'phpstan.neon'
688+
" let g:ale_php_phpstan_level = ''
688689

689690
" Autowrite file with php-cs-fixer as it's not managed by ale
690691
"autocmd FileType php autocmd BufWritePost * call PhpCsFixerFixFile()

0 commit comments

Comments
 (0)