Skip to content

[FEATURE] .djlint.toml file support #1181

@paduszyk

Description

@paduszyk

Feature Request

Many tools (e.g., Ruff, Prettier, Pytest, ...) allow defining configs in "dotted" files. For example, in the case of Ruff one can define settings in either ruff.toml or .ruff.toml. I like that because all the config files are displayed as first in IDEs and file explorers.

In the case of TOML, djLint supports djlint.toml file only. What about .djlint.toml?

Implementation seems to be quite easy as requiring a small update in:

def find_djlint_toml(root: Path) -> Path | None:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions