javierbrea / eslint-plugin-boundaries

Eslint plugin checking architecture boundaries between elements
MIT License
473 stars 9 forks source link

Templating allows the use of elements' properties just once #295

Closed btkramm closed 10 months ago

btkramm commented 1 year ago

Templating allows the use of elements' properties just once. The later usage of the element property will not be interpolated.

To Reproduce

For a dependency of type component, if we set an error message like: message: '${dependency.type} ${dependency.type} ${dependency.type}', the error will be component ${dependency.type} ${dependency.type}.

Expected behavior

I expect the error to be component component component.