- Install the following packages
$ npm i -D eslint eslint-config-prettier eslint-config-standard eslint-plugin-promise prettier- Create .eslintrc.json file at the root and add the following:
| { | |
| // Debug settings | |
| "debug.javascript.autoAttachFilter": "onlyWithFlag", | |
| // Diff editor settings | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "diffEditor.renderSideBySide": true, | |
| // Editor settings | |
| "editor.bracketPairColorization.enabled": true, |
| [ | |
| // Navigation | |
| { | |
| "key": "tab", | |
| "command": "workbench.action.nextEditorInGroup", | |
| "when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)" | |
| }, | |
| { | |
| "key": "shift-tab", | |
| "command": "workbench.action.previousEditorInGroup", |