pugjs / pug-lint

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

Allow [attr] to match attr for requireSpecificAttributes #161

Open mikemill opened 5 years ago

mikemill commented 5 years ago

For Angular projects there can be input binding using [attr]. These should match attr when determing if the attribute is present.

Example: img([src]="link.logo", [alt]="link.alttext")