37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
"[python]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
"[xml]": {
|
|
"editor.defaultFormatter": "redhat.vscode-xml"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[jsonc]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
// Extensions - Black Formatter
|
|
"black-formatter.args": ["--line-length=120"],
|
|
// Extensions - Code Spell Checker
|
|
// - see: .cspell.json
|
|
// Extensions - Flake8
|
|
"flake8.args": ["--max-line-length=120"],
|
|
// Extensions - isort
|
|
"isort.args": ["--profile=black"],
|
|
// Extensions - Prettier
|
|
"prettier.printWidth": 120,
|
|
"prettier.semi": true,
|
|
"prettier.singleQuote": true,
|
|
"prettier.tabWidth": 2,
|
|
"prettier.trailingComma": "all",
|
|
// Extensions - Pylance
|
|
"python.analysis.typeCheckingMode": "strict",
|
|
// Extensions - Python Docstring Generator configuration
|
|
"autoDocstring.docstringFormat": "google"
|
|
}
|