Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I243 [new rule] immutable as constants #458

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

dbale-altoros
Copy link
Collaborator

@dbale-altoros dbale-altoros commented Jul 27, 2023

  • Added new rule: immutable as constants
    Which has a configuration option to treat immutable variables as constants regarding notation (capital SNAKE_CASE) or as regular variables (mixedCase)

  • Modified rule: var-name-mixedcase to disregard notation on immutable variables

  • Modified rule: const-name-snakecase to disregard notation on immutable variables

  • Several smaller fixes (notation and linter rules)

@dbale-altoros dbale-altoros merged commit ef8af49 into develop Jul 31, 2023
@dbale-altoros dbale-altoros deleted the i243-inmutable-as-constants branch July 31, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants