KiaraGrouwstra / pug-plugin-ng

A Pug plugin allowing unquoted use of Angular 2's `[(bananabox)]="val"` syntax
MIT License
24 stars 2 forks source link

Linting. #7

Open vanor89 opened 7 years ago

vanor89 commented 7 years ago

Love the project, but this is messing up our linting, are there any plans to maybe add the same functionality on top of pug-lint so we can continue linting?

KiaraGrouwstra commented 7 years ago

Hey. I hadn't used pug-lint yet myself, so thanks for pointing out this incompatibility.

It looks like the elegant solution here (as opposed to a fork), would be if pug-lint were to support Pug plugins, as Pug's main package does. This way the adjustment to pug-lexer contained here could be passed on through its options. This support appears missing at the moment, but I filed an issue with them to inquire where they stand on this.