mgechev / revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
https://revive.run
MIT License
4.73k stars 276 forks source link

support private `_UPPER_CASED_CONST` with `var-naming` and `upperCaseConst=true` #865

Closed fregin closed 1 year ago

fregin commented 1 year ago

I see new feature added last week #851 with allowing to use uppercase constants.

I think there should be also a private uppercase constant support for this feature.

const _SOME_PRIVATE_CONST = "hello, world"