Answer the question
In order to leave comments, you need to log in
Is there any guidance on coding in Pug?
Greetings.
We need some generally accepted code formatting system in pug. Something like the one used in airbnb for js.
The code starts to turn into a mess. Somewhere attributes are used, somewhere variables passed to mixins. In a word, a mess. Help.
Answer the question
In order to leave comments, you need to log in
Pug is not so popular that someone wrote a separate styleguide for it. But the existing linter will help you form your own rules and avoid a mess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question