pugjs / pug-lint

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

Svg xlink error #61

Closed larsenwork closed 8 years ago

larsenwork commented 8 years ago

When I'm adding svg files the linter gives me an error saying "No namespacing of attributes attribute allowed"

svg
    use(xlink:href='#icon-pencil')
benedfit commented 8 years ago

HI @larsenwork

Are you able to provide the config you are using, along with the version of pug-lint and jade that is causing this error as I'm currently unable to replicate this issue?

larsenwork commented 8 years ago

Hi @benedfit, I'm using the atom linter by @zyklus so he can probably give you some more detail https://github.com/d9d/atom-linter-jade/issues/9#event-551190294

benedfit commented 8 years ago

@larsenwork unfortunately that particular issue isn't being raised to pug-lint but in fact, jadelint, a no longer maintained linter that the Atom linter also used along side pug-lint.

I've added an additional comment to your original issue to see if @zyklus has any plans to update the atom linter

benedfit commented 8 years ago

Feature request for atom linter to drop support for jadelint: https://github.com/d9d/atom-linter-jade/issues/11

benedfit commented 8 years ago

@larsenwork: May I suggest trying https://atom.io/packages/linter-pug instead. This linter only uses pug-lint so the error you were seeing should be resolved

larsenwork commented 8 years ago

👍 thanks