Fix (j|t)sx linting

This commit is contained in:
sfigato 2021-07-21 20:42:01 +02:00
parent 22d2a5a00b
commit aeaf3ca470
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -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'],