Last active
October 18, 2022 02:56
-
-
Save mehmoodak/9f5e114cd415f72376b7f1ff565c39c6 to your computer and use it in GitHub Desktop.
User settings of vscode setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ESLint | |
"eslint.format.enable": true, | |
"eslint.validate": [ | |
"javascript", | |
"typescript", | |
"javascriptreact", | |
"typescriptreact" | |
], | |
"[javascript]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
// "editor.formatOnSave": true, // Optional | |
}, | |
"[typescript]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
// "editor.formatOnSave": true, // Optional | |
}, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
// "editor.formatOnSave": true, // Optional | |
}, | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
// "editor.formatOnSave": true, // Optional | |
}, | |
// Log Wrapper | |
"debugwrapper.wrappers": { | |
"javascript": "console.log( '$eSEL: ', $SEL );", | |
"typescript": "console.log( '$eSEL: ', $SEL );", | |
"ruby": "puts \"$eSEL: #{$SEL.inspect}\"", | |
"go": "fmt.Println(\"$eSEL: \", $SEL)", | |
"default": "print($SEL);" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment