mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] disable ESLint in TypeScript
This commit is contained in:
parent
3705c0313f
commit
44c50c1913
1 changed files with 1 additions and 1 deletions
|
@ -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', {
|
||||||
|
|
Loading…
Reference in a new issue