pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

False positive attribute separator in release v2.0.1 #44

Closed gergelykovacs closed 8 years ago

gergelykovacs commented 8 years ago

Hi!

The false positive attribute separator detection by examples.

Relevant config line in .jadelintrc

{
    ...
    "validateAttributeSeparator": ", ",
    ...
}

Invalid attribute separator found

a(target=model.target, href=model.link, title=model.label, class!=attributes.class)= model.label
a(href='tel:#{model.link}', class!=attributes.class)= model.label
a(href='<%= templateLink %>', title=model.label, class='template-clazz')= model.label
gergelykovacs commented 8 years ago

Thanks a lot!

Now v2.0.2 seems good.