Vapora/.taplo.toml
Jesús Pérez d86f051955
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
fix: End-of-file and trailing-whitespace pre-commit compliance
Resolve pre-commit hook formatting failures for multiple files:

**Files Fixed:**
- .woodpecker/Dockerfile — Add missing final newline
- .woodpecker/Dockerfile.cross — Add missing final newline
- justfiles/ci.just — Remove trailing whitespace from recipe definitions
- docs/setup/tracking-setup.md — Add missing final newline
- crates/vapora-backend/src/api/provider_metrics.rs — Add missing final newline

**Hooks Passing:**
 end-of-file-fixer — Files now have proper final newlines
 trailing-whitespace — Removed all trailing spaces
 mixed-line-ending — Line endings normalized

These changes ensure the pre-commit framework can properly validate file formatting without blocking commits on infrastructure issues.
2026-01-11 21:42:00 +00:00

50 lines
1.1 KiB
TOML

# Taplo configuration for TOML formatting and linting
# https://taplo.tamasfe.dev/configuration/
[formatting]
# Indent tables with 2 spaces
indent_string = " "
indent_tables = true
# Reorder keys alphabetically within tables
reorder_keys = true
# Reorder arrays to be more readable
reorder_arrays = false
# Align entries vertically in inline tables
align_entries = false
# Allow compact inline tables
allowed_blank_lines = 1
# Trailing newline
trailing_newline = true
# Column width for wrapping
column_width = 100
# Compact arrays
compact_arrays = true
# Compact inline tables
compact_inline_tables = false
# === INCLUDE/EXCLUDE PATTERNS ===
include = ["Cargo.toml", "*/Cargo.toml", "config/**/*.toml", "**/*.toml"]
exclude = ["target/**", "node_modules/**", ".git/**"]
# === SCHEMA VALIDATION ===
# Cargo.toml schema validation
[[rule]]
include = ["**/Cargo.toml"]
# Taplo includes built-in Cargo.toml schema
# TypeDialog form definition TOML files
[[rule]]
include = ["**/.typedialog/**/*.toml", "config/**/forms/*.toml", "tests/fixtures/**/*.toml"]
keys = ["name", "description", "fields", "items", "elements"]