Skip to content

Conversation

nedtwigg
Copy link
Member

removeWildcardImports is a recent addition, and right now (and for the foreseeable future) it doesn't do what it says it does. It doesn't remove them, it just yells at you about it.

In my own projects, I have actually ended up having quite a few rules that just yell "don't do this", and with our new "regex lint" thing, those can be a lot nicer with line numbers and easy suppression. So the point of this PR is to do a little refactor towards the "forbid" word.

@nedtwigg
Copy link
Member Author

@iddeepak and @Pankraz76 - this okay with you?

@nedtwigg nedtwigg mentioned this pull request Sep 24, 2025
@Pankraz76
Copy link
Contributor

yes much more sound, thx.

@jbduncan
Copy link
Member

Nice! LGTM. Let me know if you'd like another review when things are out of draft.

@nedtwigg nedtwigg marked this pull request as ready for review September 24, 2025 15:06
@nedtwigg nedtwigg merged commit 009c5da into main Sep 24, 2025
34 checks passed
@nedtwigg nedtwigg deleted the feat/forbid branch September 24, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants