From d0f6923d24ddecb8eb1184c0c8cc45f6a247e85b Mon Sep 17 00:00:00 2001 From: hardiknai-techm <80053762+hardiknai-techm@users.noreply.github.com> Date: Wed, 10 Mar 2021 07:01:38 +0530 Subject: [PATCH] Configure onsave auto format eslint in vscode (#478) --- .vscode/settings.json | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f4c1f6881..ba70984cf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,21 +1,26 @@ // Place your settings in this file to overwrite default and user settings. { - "files.exclude": { - ".vs": true, - ".vscode/**": true, - "*.trx": true, - "**/.DS_Store": true, - "**/.git": true, - "**/.hg": true, - "**/.svn": true, - "built/**": true, - "coverage/**": true, - "libs/**": true, - "node_modules/**": true, - "package-lock.json": true, - "quickstart/**": true, - "test/out/**": true, - "workers/libs/**": true - }, - "typescript.tsdk": "node_modules/typescript/lib" -} \ No newline at end of file + "files.exclude": { + ".vs": true, + ".vscode/**": true, + "*.trx": true, + "**/.DS_Store": true, + "**/.git": true, + "**/.hg": true, + "**/.svn": true, + "built/**": true, + "coverage/**": true, + "libs/**": true, + "node_modules/**": true, + "package-lock.json": true, + "quickstart/**": true, + "test/out/**": true, + "workers/libs/**": true + }, + "typescript.tsdk": "node_modules/typescript/lib", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true, + "source.organizeImports": true + } +}