Need to add an exception dictionary for CLASS_NAME_INCORRECT
#1622
Replies: 3 comments
-
I believe we always were intentionally converting these parts to PascalCase, i.e. HtmlLoader instead of HTMLLoader etc. |
Beta Was this translation helpful? Give feedback.
-
I looked at the projects on github and noticed that quite a few use uppercase abbreviations. It seemed to me wrong not to give a choice to the user here. |
Beta Was this translation helpful? Give feedback.
-
The right naming would be As both EJ and our own specification suggest, Kotlin's naming conventions are slightly different from those of Java, but they generally agree on how class names with acronyms at the beginning/in the middle should look like. |
Beta Was this translation helpful? Give feedback.
-
It is not always correct to name classes only in pascalCase. The class name may contain an abbreviation, such as DTO, DAO, etc. which must be in upper case.
Perhaps you can add manually configured exceptions to the rule, which the user will add himself.
Beta Was this translation helpful? Give feedback.
All reactions