Skip to content

Commit

Permalink
Closes #1847
Browse files Browse the repository at this point in the history
  • Loading branch information
diphtongue committed Dec 8, 2023
1 parent 303d656 commit d56dd42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diktat-rules/src/main/resources/diktat-analysis-huawei.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# Checks that CONSTANT (treated as const val from companion object or class level) is in non UPPER_SNAKE_CASE
- name: CONSTANT_UPPERCASE
enabled: true
configuration:
exceptionConstNames: "serialVersionUID"
# Checks that enum value is in upper SNAKE_CASE or in PascalCase depending on the config. UPPER_SNAKE_CASE is the default, but can be changed by 'enumStyle' config
- name: ENUM_VALUE
enabled: true
Expand Down

0 comments on commit d56dd42

Please sign in to comment.