Fix (j|t)sx linting
This commit is contained in:
parent
22d2a5a00b
commit
aeaf3ca470
|
@ -11,7 +11,9 @@ let g:ale_elixir_elixir_ls_release = s:user_dir . './pack/vendor/start/vim-elixi
|
|||
|
||||
let g:ale_linters = {
|
||||
\ 'javascript': ['eslint'],
|
||||
\ 'typescript': ['tsserver', 'tslint'],
|
||||
\ 'javascriptreact': ['eslint'],
|
||||
\ 'typescript': ['deno', 'tsserver', 'tslint'],
|
||||
\ 'typescriptreact': ['deno', 'tsserver', 'tslint'],
|
||||
\ 'python': ['pyls', 'pylint'],
|
||||
\ 'rust': ['rls'],
|
||||
\ 'elixir': ['credo', 'elixir-ls'],
|
||||
|
@ -26,6 +28,8 @@ let g:ale_linters = {
|
|||
let g:ale_fixers = {
|
||||
\ 'javascript': ['prettier'],
|
||||
\ 'typescript': ['prettier'],
|
||||
\ 'javascriptreact': ['prettier'],
|
||||
\ 'typescriptreact': ['prettier'],
|
||||
\ 'python': ['black', 'pyls'],
|
||||
\ 'rust': ['rustfmt'],
|
||||
\ 'elixir': ['mix_format'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user