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

Allow static attribute "class" when line length exceeds #178

Open
rjurado01 opened this issue Jun 10, 2020 · 0 comments
Open

Allow static attribute "class" when line length exceeds #178

rjurado01 opened this issue Jun 10, 2020 · 0 comments

Comments

@rjurado01
Copy link

rjurado01 commented Jun 10, 2020

Y have this code:

a.ns-button.ns-button--primary.ns-button--lg.ns-button--rounded.ns-button--gradient.scrollactive-item(

Witch throws me this error: Line length exceeds the maximum of 80 chars, so I change to:

a(class=`
    ns-button ns-button--primary
    ns-button--lg
    ns-button--rounded
    ns-button--gradient
    scrollactive-item`
)

But this throws me this error: Static attribute "class" must be written as class literal

How can I do it? maybe pug-lint should allows static attribute "class" when line length exceeds.

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