[nvim] disable ESLint in TypeScript

This commit is contained in:
Dmytro Meleshko 2019-11-18 21:47:13 +02:00
parent 3705c0313f
commit 44c50c1913

View file

@ -7,7 +7,7 @@ if !g:vim_ide | finish | endif
call coc#add_extension('coc-tsserver', 'coc-eslint', 'coc-prettier') call coc#add_extension('coc-tsserver', 'coc-eslint', 'coc-prettier')
let g:coc_filetypes += ['javascript', 'javascript.jsx', 'typescript', 'typescript.jsx'] let g:coc_filetypes += ['javascript', 'javascript.jsx', 'typescript', 'typescript.jsx']
call coc#config('eslint', { call coc#config('eslint', {
\ 'filetypes': ['javascript', 'javascriptreact', 'typescript', 'typescriptreact'], \ 'filetypes': ['javascript', 'javascriptreact'],
\ 'autoFixOnSave': v:true, \ 'autoFixOnSave': v:true,
\ }) \ })
call coc#config('prettier', { call coc#config('prettier', {