Skip to content

Commit

Permalink
tooling(ide): update VSCode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed May 2, 2024
1 parent 39649b6 commit 3b921ca
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
{
// Editor
"editor.rulers": [
88
],
"editor.wordWrapColumn": 88,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"files.associations": {
"./requirements/*.txt": "pip-requirements"
},
// JSON
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnSave": true,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// Markdown
"markdown.updateLinksOnFileMove.enabled": "prompt",
"markdown.updateLinksOnFileMove.enableForDirectories": true,
"markdown.validate.enabled": true,
"markdown.validate.fileLinks.markdownFragmentLinks": "warning",
"markdown.validate.fragmentLinks.enabled": "warning",
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": false,
},
// Python
"python.analysis.autoFormatStrings": true,
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
"python.testing.unittestEnabled": true,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
Expand All @@ -34,9 +43,6 @@
],
"editor.wordWrapColumn": 88,
},
// Tests
"python.testing.unittestEnabled": true,
"python.testing.pytestEnabled": true,
// YAML
"[yaml]": {
"editor.autoIndent": "keep",
Expand All @@ -58,4 +64,12 @@
"--config=setup.cfg",
"--verbose"
],
"markdownlint.config": {
"MD007": {
"indent": 4
},
"MD024": {
"allow_different_nesting": true
},
}
}

0 comments on commit 3b921ca

Please sign in to comment.