Files
website/.vscode/settings.json
T

73 lines
1.7 KiB
JSON

{
// files
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.exclude": {
"**/*.pyc": true,
"**/.git": false
},
// Prittier & editor
"prettier.printWidth": 150,
"editor.suggestSelection": "first",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"formattingToggle.affects": [
"formatOnPaste",
"formatOnSave",
"formatOnType"
],
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.fontSize": 15,
"editor.tabSize": 2,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment"
],
"settings": {
"fontStyle": "italic"
}
}
]
},
// git
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git-graph.dialog.rebase.ignoreDate": false,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.wordWrap": "off",
// Javascript
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.paths": true,
// json
"[json,jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// todos
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]"
],
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.filtering.excludeGlobs": [
"**/node_modules"
],
"vitest.enable": true
}