From 2000dcea1cda7d31f1b6f5d0646c48421e9bae8b Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 17 Feb 2020 16:04:51 +0000 Subject: [PATCH] Configure eslint & prettier --- .vim/coc-settings.json | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index b6d9531..0063e1c 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -1,5 +1,36 @@ { - "coc.preferences.formatOnSaveFiletypes": ["javascript", "typescript", "typescriptreact", "json", "javascriptreact", "typescript.tsx"], - "eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"], - "coc.preferences.diagnostic.virtualText": true, + "coc.preferences.colorSupport": true, + "coc.preferences.formatOnInsertLeave": true, + "coc.preferences.formatOnTypeFiletypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx", + "html", + "json", + "Markdown", + "css" + ], + "eslint.filetypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx" + ], + "coc.preferences.formatOnSaveFiletypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx", + "html", + "json", + "Markdown", + "css" + ], + "diagnostic.errorSign": "x", + "diagnostic.warningSign": "!", + "diagnostic.infoSign": "?" }