diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index 0063e1c..f71f2f6 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -1,4 +1,19 @@ { + "eslint.autoFixOnSave": true, + "eslint.filetypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx" + ], + + "prettier.eslintIntegration": true, + "prettier.semi": false, + "prettier.tabWidth": 2, + "prettier.singleQuote": true, + "prettier.arrowParens": "avoid", + "coc.preferences.colorSupport": true, "coc.preferences.formatOnInsertLeave": true, "coc.preferences.formatOnTypeFiletypes": [ @@ -12,13 +27,6 @@ "Markdown", "css" ], - "eslint.filetypes": [ - "javascript", - "typescript", - "javascriptreact", - "typescriptreact", - "typescript.tsx" - ], "coc.preferences.formatOnSaveFiletypes": [ "javascript", "typescript",