Replies: 1 comment 1 reply
-
There is nothing in the core for this. If you’re using typescript-eslint, then I’d suggest asking them for help. (We don’t maintain that project) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out how to prevent functions from being made
Public
when it isn't used in another file.I tried looking for an eslint rule for this, but I couldn't seem to find one and the closest was using
explicit-member-accessibility
So far I've tried to work-around it by doing this
But the problem with it is that it forces you to write
Public
before every method.This would also require editing a lot of code to an already existing codebase.
Is there a way to solve this problem or an eslint rule that I might have missed?
Beta Was this translation helpful? Give feedback.
All reactions