Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ryanzec/5a60c6e669948378e8e10aa8af8d6717 to your computer and use it in GitHub Desktop.
Save ryanzec/5a60c6e669948378e8e10aa8af8d6717 to your computer and use it in GitHub Desktop.
{
"editor.tabSize": 2,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "all",
"files.insertFinalNewline": true,
"editor.rulers": [
120
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.lintTask.enable": true,
"security.workspace.trust.untrustedFiles": "open",
"diffEditor.ignoreTrimWhitespace": false,
"workbench.editor.enablePreview": false,
"svelte.enable-ts-plugin": true,
"eslint.codeActionsOnSave.rules": null,
"gitlens.views.commitDetails.files.layout": "list",
"eslint.format.enable": true,
"editor.formatOnSave": true,
"[go]": {
"editor.insertSpaces": true
},
"editor.detectIndentation": false,
"tailwindCSS.classAttributes": [
"class",
],
"editor.wordWrapColumn": 120,
"workbench.iconTheme": "vscode-icons",
"tailwindCSS.experimental.classRegex": [
// object
// const styles = {
// a: 'bg-black text-ellipsis',
// b: 'text-sm',
// }
["\\b.*Css.*?\\s*=\\s*{([^}]+)", ":\\s*['\"`]([^'\"`]*)['\"`]"]
],
// make sure svelte files are configure on save
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
// make sure auto imports use aliased paths instead of relative paths when possible
"typescript.preferences.importModuleSpecifier": "non-relative",
// useful for things like tailing auto complete
"editor.quickSuggestions": {
"strings": "on"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment