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

Formatting and wrapping of inline styles #6214

Closed
dumplingbao opened this issue Jul 22, 2022 · 1 comment
Closed

Formatting and wrapping of inline styles #6214

dumplingbao opened this issue Jul 22, 2022 · 1 comment

Comments

@dumplingbao
Copy link

What is the problem you're trying to solve?

How to ignore inline styles when formatting inline styles and automatically wrapping lines frequently

iShot2022-07-22 16 58 55

What solution would you like to see?

Ignore or other methods.

@jeddy3
Copy link
Member

jeddy3 commented Sep 4, 2022

@dumplingbao Thanks for the request and for using the template.

This is related to custom syntaxes (in particular, postcss-html), rather than Stylelint itself.

I suggest opening an issue in the postcss-html tracker to see if they can support different rules for inline styles.

You're welcome to reopen this issue if the syntax authors need us to make changes to Stylelint itself to facilitate the feature.


The request follows on from #3128. As an aside, it feels less pressing now as we no longer recommend using stylistic rules which users may want to configure differently for inline styles.

@jeddy3 jeddy3 closed this as completed Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants