[nvim] disable ESLint integration for Prettier, sync configs

This commit is contained in:
Dmytro Meleshko 2021-02-12 10:43:39 +02:00
parent bddaea14dd
commit 8a4f6f8a4a

View file

@ -5,10 +5,18 @@ let g:coc_user_config['eslint'] = {
\ 'filetypes': s:filetypes, \ 'filetypes': s:filetypes,
\ 'autoFixOnSave': v:true, \ 'autoFixOnSave': v:true,
\ } \ }
" See <https://github.com/dmitmel/eslint-config-dmitmel/blob/9b14f45aef7efbf333b38a06277296f5b0304484/prettier.config.js>
let g:coc_user_config['prettier'] = { let g:coc_user_config['prettier'] = {
\ 'printWidth': 100,
\ 'tabWidth': 2,
\ 'useTabs': v:false,
\ 'semi': v:true,
\ 'singleQuote': v:true, \ 'singleQuote': v:true,
\ 'quoteProps': 'as-needed',
\ 'jsxSingleQuote': v:false,
\ 'trailingComma': 'all', \ 'trailingComma': 'all',
\ 'bracketSpacing': v:true,
\ 'jsxBracketSameLine': v:true, \ 'jsxBracketSameLine': v:true,
\ 'eslintIntegration': v:true, \ 'arrowParens': 'always',
\ 'disableSuccessMessage': v:true \ 'disableSuccessMessage': v:true,
\ } \ }