-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
What I'm trying to achieve
If a value is an object, and it's not used as a shorthand property, it won't be flagged by the rule.
This is not ideal - a user could just rename a variable and pass it to a logger.
In production environment, a function that takes an object and redacts sensitive values should be used. We could additional check if the object was returned from such a function
Describe a proposed solution
For objects and arrays, check if value was returned from function specified in settings
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels