This message was deleted.
# general
s
This message was deleted.
l
It breaks all hope of unit testing the component..
e
export is really for stack outputs, so you probably don't want to be calling that in components.
m
That’s what I figured. thanks. Would it be helpful or is there any interest in somehow making that preventable?
l
Linting tools help with that, if it's important to you. And code reviews. I have a code standard that no external interfaces (config, stack references, other components, etc.) are allowed in components we write, other than the component's core purpose and logging. We rely only on code reviews to enforce this. It's working fine so far.