mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] disable ESLint integration for Prettier, sync configs
This commit is contained in:
parent
bddaea14dd
commit
8a4f6f8a4a
1 changed files with 10 additions and 2 deletions
|
@ -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,
|
||||||
\ }
|
\ }
|
||||||
|
|
Loading…
Reference in a new issue