mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-14 00:35:43 +01:00
- build(pre-commit): upgrade hooks (django-upgrade 1.29.1, uv 0.9.7, ruff 0.14.3, bandit 1.8.6) - build(pre-commit): add uv-lock hook, tombi TOML formatter, prettier-plugin-packagejson - build(pre-commit): disable Django check hooks (commented out) - build(pre-commit): switch npx → bunx for prettier execution - build(node): add bun.lock, update prettier config with schema + packagejson plugin - style: apply ruff format to all Python files (comments, spacing, imports) - style: apply prettier format to all JS/CSS files (comment styles, spacing) - style: apply tombi format to pyproject.toml (reordered sections, consistent formatting) - chore: remove emoji from bash script comments for consistency BREAKING CHANGE: Django check and migration check hooks disabled in pre-commit config
35 lines
800 B
Plaintext
35 lines
800 B
Plaintext
{
|
|
"$schema": "https://json.schemastore.org/prettierrc.json",
|
|
"arrowParens": "always",
|
|
"bracketSpacing": true,
|
|
"embeddedLanguageFormatting": "auto",
|
|
"htmlWhitespaceSensitivity": "css",
|
|
"insertPragma": false,
|
|
"jsxSingleQuote": false,
|
|
"printWidth": 100,
|
|
"proseWrap": "preserve",
|
|
"quoteProps": "as-needed",
|
|
"requirePragma": false,
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"useTabs": false,
|
|
"overrides": [
|
|
{
|
|
"files": ["*.html"],
|
|
"options": {
|
|
"parser": "jinja-template"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.md", "*.markdown"],
|
|
"options": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"proseWrap": "preserve",
|
|
"printWidth": 100
|
|
}
|
|
}
|
|
],
|
|
"plugins": ["prettier-plugin-jinja-template", "prettier-plugin-packagejson"]
|
|
}
|