Open nikmilson opened 8 years ago
I'd agree with you that this isn't static, so this will need fixing.
You can get around this issue for now by using div(id="custom-id-" + name)
, unless of course you have disallowAttributeConcatenation: true
in your config too
Depends on the version of Pug. Pug 2 removes support for the interpolation syntax, making it always static. Pug-lint should follow the syntax of well, Pug.
Whether interpolating attribute is considered the static value?
For example:
With option
disallowIdAttributeWithStaticValue: true
is invalid. Butid
not seems static. Is this correct?