Closed FDIM closed 2 years ago
I've just bumped into an odd case with no console rule and wanted to use this ban rule instead.
How about supporting cases like this?
{ 'name': ['console', '*'], 'message': 'Unexpected console statement' },
Now I have to list all the methods, which is a bit silly for a potentially evolving API. I can open a PR with a change if it looks OK :)
I've just bumped into an odd case with no console rule and wanted to use this ban rule instead.
How about supporting cases like this?
Now I have to list all the methods, which is a bit silly for a potentially evolving API. I can open a PR with a change if it looks OK :)