Created
March 4, 2021 20:34
-
-
Save AdilsonFuxe/d80b9aac795e791fe161880fbeb45f2e to your computer and use it in GitHub Desktop.
my vs code configuration
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
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontFamily": "Jetbrains Mono", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "650", | |
"editor.fontSize":14, | |
"debug.console.fontSize": 14, | |
// Editor Behavior | |
"editor.suggest.localityBonus": true, | |
"javascript.suggest.autoImports": true, | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
// Editor indentation settings | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": true, | |
// Auto applies editor rules for long lines of code | |
"editor.rulers": [80, 120], | |
// ESLint configuration | |
"eslint.packageManager": "yarn", | |
"eslint.codeActionsOnSave.mode": "all", | |
"prettier.singleQuote": true, | |
// "prettier.trailingComma": "es5", | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
"typescript", | |
"typescriptreact" | |
], | |
// Emmet | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" // Defines auto closing tags in JSX | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
// Git settings | |
"git.enableSmartCommit": true, | |
"git.autofetch": true, | |
"git.confirmSync": false, | |
// Extensions | |
"extensions.ignoreRecommendations": false, // Do not ignore recommendations | |
// Peacock colors (customizable) | |
"peacock.favoriteColors": [ | |
{ | |
"name": "Rocketseat Purple", | |
"value": "#7159C1" | |
}, | |
{ | |
"name": "Dracula Dark", | |
"value": "#0B0A10" | |
} | |
], | |
// Pretier settings | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[yaml]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint" | |
}, | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"workbench.colorTheme": "GitHub Dark", | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment