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

Bug: pugClassLocation: 'after-attributes' wrong placement #326

Closed
shadowgate15 opened this issue Jan 4, 2022 · 0 comments · Fixed by #327
Closed

Bug: pugClassLocation: 'after-attributes' wrong placement #326

shadowgate15 opened this issue Jan 4, 2022 · 0 comments · Fixed by #327
Assignees
Labels
type: bug Functionality that does not work as intended/expected

Comments

@shadowgate15
Copy link
Collaborator

shadowgate15 commented Jan 4, 2022

Info

Tool Version
Plugin v1.19.0
Prettier v2.5.0
Framework none
Node v14.18.2
OS mac

Prettier config

{
  pugClassLocation: 'after-attributes'
}

Input

p.text-center.mb-0: small: a.text-black-50(href=url)= t('text')

Output or Error

p: small: a(href='url').text-center.mb-0.text-black-50= t('text')

Expected Output

p.text-center.mb-0: small: a.text-black-50(href='url')= t('text')

Additional Context

Will work on this soon @Shinigami92 😀
cc @niftylettuce @spence-s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants