From f048c146c5d58969fce34df40366bd649df74e6d Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 17 Feb 2020 16:29:40 +0000 Subject: [PATCH] Config prettier eslint integration --- .vim/coc-settings.json | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) 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",