pugjs / pug-lint

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

Report the usage of interpolation inside filters #138

Open arty-name opened 7 years ago

arty-name commented 7 years ago

One of the breaking changes when migrating to Pug2 is that now we cannot use interpolated values inside the text which is inside the filter, i.e.:

:uglify-js
  alert("#{test} !{test}")

It would be nice if pug-lint reported that usage.