Skip to content

Instantly share code, notes, and snippets.

View bledidalipaj's full-sized avatar

Bledi bledidalipaj

View GitHub Profile

Setup eslint & prettier

  1. Install the following packages
$ npm i -D eslint eslint-config-prettier eslint-config-standard eslint-plugin-promise prettier
  1. Create .eslintrc.json file at the root and add the following:
@bledidalipaj
bledidalipaj / settings.json
Last active May 15, 2025 07:04
VS Code settings
{
// Debug settings
"debug.javascript.autoAttachFilter": "onlyWithFlag",
// Diff editor settings
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
// Editor settings
"editor.bracketPairColorization.enabled": true,
@bledidalipaj
bledidalipaj / keybindings.json
Last active September 6, 2025 17:08
VS Code key bindings
[
// Navigation
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",