Skip to content

Instantly share code, notes, and snippets.

@yannbertrand
Last active January 7, 2025 12:43
Show Gist options
  • Save yannbertrand/830e9767b48cefeea0eadae7af38b12a to your computer and use it in GitHub Desktop.
Save yannbertrand/830e9767b48cefeea0eadae7af38b12a to your computer and use it in GitHub Desktop.
VS Code config
{
"window.zoomLevel": 2,
"window.autoDetectColorScheme": true,
"window.newWindowDimensions": "maximized",
// Editor
"editor.renderWhitespace": "trailing",
"editor.formatOnSave": true,
"editor.detectIndentation": false,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.minimap.renderCharacters": false,
"editor.minimap.enabled": false,
// HTML
"html.autoClosingTags": false,
// JavaScript
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"js/ts.implicitProjectConfig.checkJs": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.preferences.importModuleSpecifierEnding": "js",
"typescript.preferences.importModuleSpecifierEnding": "js",
"security.workspace.trust.untrustedFiles": "open",
"[css][javascript][typescript][json][jsonc][javascriptreact][typescriptreact][vue]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[glimmer-js][glimmer-ts]": {
"editor.foldingStrategy": "indentation",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"git.autofetch": true,
"editor.inlineSuggest.enabled": true,
"gitlens.advanced.blame.customArguments": [
"--ignore-revs-file",
".git-blame-ignore-revs"
],
"githubPullRequests.pullBranch": "never",
"editor.fontFamily": "'Dank Mono', Monaco, Menlo, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"editor.fontWeight": "800",
"powermode.enabled": false,
"editor.accessibilitySupport": "off",
"git.openRepositoryInParentFolders": "never",
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"scminput": false,
"yaml": false
},
"workbench.preferredLightColorTheme": "Default Light+",
"workbench.preferredDarkColorTheme": "Default Dark+",
"svelte.enable-ts-plugin": true,
"workbench.colorTheme": "Default Light+",
"github.copilot.advanced": {},
"testExplorer.useNativeTesting": true,
"mochaExplorer.esmLoader": true,
"mochaExplorer.files": "api/tests/**/*_test.js",
"mochaExplorer.timeout": 60000,
"mochaExplorer.env": {
"NODE_ENV": "test"
},
"mochaExplorer.exit": true,
"mochaExplorer.pruneFiles": true,
"eslint.validate": [
"json",
"javascript",
"javascriptreact",
"html",
"typescript",
"typescriptreact",
"glimmer-ts",
"glimmer-js"
],
"eslint.rules.customizations": [
{
"rule": "*",
"severity": "warn"
},
{
// Change the severity of all autofixable issues to `off`
// https://x.com/iamsapegin/status/1831256205278290345
"rule": "*",
"fixable": true,
"severity": "off"
}
],
"prettier.bracketSameLine": true,
"prettier.singleQuote": true,
"editor.stickyScroll.enabled": true,
"workbench.tree.enableStickyScroll": true,
"workbench.sideBar.location": "right",
"workbench.activityBar.location": "top",
"prettier.documentSelectors": [
"**/*.gts",
"**/*.gjs"
],
"github.copilot.editor.enableAutoCompletions": true,
"javascript.preferGoToSourceDefinition": true,
"typescript.preferGoToSourceDefinition": true,
"[glimmer-js]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.foldingStrategy": "indentation"
},
"[glimmer-ts]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.foldingStrategy": "indentation"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment