mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-27 16:55:17 +02:00
djlint 1.42 counts `href` in each branch of a Go template if/else chain as a duplicate attribute (H037), so the fork button now resolves its href into a variable before emitting a single attribute. H006 and H031 became opt-in in 1.42, making their `ignore` entries dead config. Assisted-by: Claude Code:Opus 5
16 lines
234 B
TOML
16 lines
234 B
TOML
[project]
|
|
name = "gitea"
|
|
version = "0.0.0"
|
|
requires-python = ">=3.10"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"djlint==1.42.1",
|
|
"yamllint==1.38.0",
|
|
"zizmor==1.28.0",
|
|
]
|
|
|
|
[tool.djlint]
|
|
profile="golang"
|
|
ignore="H005,H013,H016,H020,H021,H030"
|