From 1ccfb2b8fed192182fd41a8a140a3a0a16b91afd Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 18 Dec 2023 14:06:59 +0100 Subject: [PATCH] Update eslint & prettier config --- .vim/coc-settings.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index 929d131..fc5644e 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -3,14 +3,18 @@ * Linting & (Auto)formatting */ + "coc.preferences.formatOnType": true, + "coc.preferences.formatOnSave": true, + "prettier.configPath": ".prettierrc", + "prettier.ignorePath": ".prettierignore", + "prettier.semi": false, "prettier.tabWidth": 2, "prettier.singleQuote": true, "prettier.arrowParens": "avoid", "prettier.printWidth": 120, "eslint.format.enable": true, - "coc.preferences.formatOnType": true, - "coc.preferences.formatOnSave": true, + "eslint.onIgnoredFiles": "warn", // Markdown "markdownlint.config": {