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

Config for formatting of CSS files #1366

Open
koeaw opened this issue Nov 12, 2024 · 1 comment
Open

Config for formatting of CSS files #1366

koeaw opened this issue Nov 12, 2024 · 1 comment
Labels
assets Static files, components defining or contributing to appearance tooling Tools, workflows, integrations etc. relevant to project maintenance, deployment, collaboration

Comments

@koeaw
Copy link
Contributor

koeaw commented Nov 12, 2024

We use a new workflow for formatting CSS in external files, whose configuration is not done via pyproject.toml or similar but which seems to solely rely on command line arguments.

@gythaogg and I went through #1262 together yesterday, which took a lot longer than expected because the formatter's error reporting is not helpful and the config is not transparent.

It would be preferable if the tool were set up to work like the existing ones (Ruff, djLint etc.), which would also help with building on or tweaking the Core config for our own projects/local development.

Related: #1326

@koeaw koeaw added the tooling Tools, workflows, integrations etc. relevant to project maintenance, deployment, collaboration label Nov 12, 2024
@b1rger
Copy link
Contributor

b1rger commented Nov 12, 2024

The tools upstream is https://github.com/beautifier/js-beautify

It would be preferable if the tool were set up to work like the existing ones (Ruff, djLint etc.)

Are you suggesting we get in touch with upstream and provide a patch that implements this feature?

@koeaw koeaw added the assets Static files, components defining or contributing to appearance label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assets Static files, components defining or contributing to appearance tooling Tools, workflows, integrations etc. relevant to project maintenance, deployment, collaboration
Projects
None yet
Development

No branches or pull requests

2 participants