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

Configurable class literal location #313

Closed
shadowgate15 opened this issue Nov 24, 2021 · 4 comments · Fixed by #314
Closed

Configurable class literal location #313

shadowgate15 opened this issue Nov 24, 2021 · 4 comments · Fixed by #314
Assignees
Labels
type: feature request Functionality that introduces a new feature

Comments

@shadowgate15
Copy link
Collaborator

Request / Idea

Have an option to set where class literals will be placed.

Input

#class-after-attributes.class.class-2(type='text')

#class-before-attributes(type='text').class.class-2

Expected Output

#class-after-attributes(type='text').class.class-2

#class-before-attributes.class.class-2(type='text')

Additional Context

@Shinigami92 Shinigami92 added the type: feature request Functionality that introduces a new feature label Nov 24, 2021
@Shinigami92
Copy link
Member

Should the same be applied to id literals?
Could you describe >why< do you want this feature?

@shadowgate15
Copy link
Collaborator Author

It is just strictly an opinion of formatting. same as wanting to have attributes sorted.

@Shinigami92
Copy link
Member

Are you interested in creating a PR for that? 🙂
If you need any help, feel free to ask. You can look how other options are implemented and orient on that.

@shadowgate15
Copy link
Collaborator Author

yep will do! just going to work on the quotes PR first then I can work on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request Functionality that introduces a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants