Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] .djlint.toml file support #1181

Open
2 tasks done
paduszyk opened this issue Mar 8, 2025 · 0 comments
Open
2 tasks done

[FEATURE] .djlint.toml file support #1181

paduszyk opened this issue Mar 8, 2025 · 0 comments

Comments

@paduszyk
Copy link

paduszyk commented Mar 8, 2025

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant