From 0feb6580b13bffc17aadcbc78d5dc0135c5d4eeb Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 18 Jan 2021 08:43:33 +0100 Subject: [PATCH] Lint with eslint on save --- nvim/coc-settings.json | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index ee438e2..9be3faa 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -1,16 +1,18 @@ { - "coc.preferences.formatOnSaveFiletypes": [ - "cpp", - "javascript", - "typescript", - "typescriptreact", - "json", - "markdown", - "python", - "rust", - "toml", - "yaml" - ], - "clangd.path": "/home/mandlm/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd", - "eslint.format.enable": true + "coc.preferences.formatOnSaveFiletypes": [ + "cpp", + "javascript", + "typescript", + "typescriptreact", + "json", + "markdown", + "python", + "rust", + "toml", + "yaml" + ], + "clangd.path": "/home/mandlm/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd", + "eslint.autoFixOnSave": true, + "eslint.format.enable": true, + "eslint.packageManager": "yarn" }