Skip to content

Instantly share code, notes, and snippets.

@MarceloHoffmeister
Forked from diego3g/NODE.md
Last active February 25, 2021 23:42
Show Gist options
  • Save MarceloHoffmeister/d7b1fe944c0c5abaae35f2656775a797 to your computer and use it in GitHub Desktop.
Save MarceloHoffmeister/d7b1fe944c0c5abaae35f2656775a797 to your computer and use it in GitHub Desktop.
JSON de configuração do VSCode
/**
extensões: GitLens, Vetur, ESLint, Prettier, Omni ou Dracula, Material Icon Theme,
StandardJS, Fonte Victor Mono, Rainbown Brackets Colorizer
*/
{
"editor.lineHeight": 24,
"editor.fontFamily": "Victor Mono",
"editor.fontLigatures": true,
"explorer.compactFolders": false,
// Aplica linhas verticais
"editor.rulers": [80, 120],
"editor.wordWrap": "on",
"eslint.packageManager": "yarn",
"[javascript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[javascriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"files.associations": {
".sequelizerc": "javascript",
".stylelintrc": "json",
".prettierrc": "json"
},
// Aplica um sinal visual na esquerda da linha selecionada
"editor.renderLineHighlight": "gutter",
// Aumenta a fonte do terminal
"terminal.integrated.fontSize": 14,
// Define o tema dos ícones na sidebar
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"editor.tabSize": 2,
"window.zoomLevel": 0,
"extensions.ignoreRecommendations": true,
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"material-icon-theme.folders.associations": {
"infra": "app",
"entities": "class",
"schemas": "class",
"typeorm": "database",
"repositories": "mappings",
"http": "container",
"migrations": "tools",
"mixins": "tools",
"store": "ngrx-store",
"modules": "components",
"implementations": "core",
"dtos": "typescript",
"fakes": "mock",
"websockets": "pipe",
"protos": "pipe",
"grpc": "pipe"
},
"material-icon-theme.files.associations": {
"ormconfig.json": "database",
"tsconfig.json": "tune",
"*.proto": "3d"
},
"javascript.updateImportsOnFileMove.enabled": "never",
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"breadcrumbs.enabled": true,
"git.enableSmartCommit": true,
"editor.parameterHints.enabled": false,
"typescript.updateImportsOnFileMove.enabled": "never",
"terminal.integrated.shell.osx": "/bin/zsh",
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"typescript.tsserver.log": "verbose",
"javascript.suggest.autoImports": false,
"typescript.suggest.autoImports": false,
"workbench.activityBar.visible": true,
// Tratamento da extensão StandardJS
"standard.autoFixOnSave": false,
"javascript.validate.enable": false,
"eslint.validate": ["javascript", "javascriptreact", "vue"],
"vetur.validation.style": false,
"tabnine.experimentalAutoImports": true,
"workbench.colorTheme": "Omni",
"editor.fontSize": 14,
// rainbown brackets
"bracketPairColorizer.showHorizontalScopeLine": false
// customization for cursive style
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
// following will be in italic (=FlottFlott)
"comment",
"entity.name.type.class", // class names
"keyword", // import, export, return…
"constant", // String, Number, Boolean…, this, super
"storage.modifier", // static keyword
"storage.type.class.js", // class keyword
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
// following will be excluded from italics (VSCode has some defaults for italics)
"invalid",
"keyword.operator",
"constant.numeric.css",
"keyword.other.unit.px.css",
"constant.numeric.decimal.js",
"constant.numeric.json"
],
"settings": {
"fontStyle": ""
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment