Skip to content

Commit

Permalink
build: improve markdown linting
Browse files Browse the repository at this point in the history
  • Loading branch information
t03i committed Nov 6, 2024
1 parent 7d45ad9 commit 4dfc21f
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tabWidth": 4,
"overrides": [
{
"files": "*.md",
"options": {
"tabWidth": 2
}
}
]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,18 @@
"backend/": true,
".ruff_cache/": true,
"build/": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"markdownlint.config": {
"MD033": {
"allowed_elements": [
"kbd",
"br",
"details",
"summary",
"img",
"sup"
]
}
}
}
5 changes: 4 additions & 1 deletion backend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"files.exclude": {
".venv/": true,
"**/__pycache__/": true
}
},
"editor.defaultFormatter": "charliermarsh.ruff",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true
}
5 changes: 4 additions & 1 deletion frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"files.exclude": {
".svelte-kit/": true,
"node_modules/": true
}
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.prettierPath": "./node_modules/prettier",
"prettier.configPath": ".prettierrc.json"
}
3 changes: 2 additions & 1 deletion tmvsidb.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"TopDB",
"transmembrane",
"UniProt"
]
],
"editor.formatOnSave": true
}
}

0 comments on commit 4dfc21f

Please sign in to comment.