You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A strategy that transforms serial names from camel case to kebab case — lowercase characters with words separated by dashes.
109
+
* The descriptor parameter is not used.
110
+
*
111
+
* **Transformation rules**
112
+
*
113
+
* Words' bounds are defined by uppercase characters. If there is a single uppercase char, it is transformed into lowercase one with a dash in front:
114
+
* `twoWords` -> `two-words`. No dash is added if it was a beginning of the name: `MyProperty` -> `my-property`. Also, no dash is added if it was already there:
* Since acronym rules are quite complex, it is recommended to lowercase all acronyms in source code.
120
+
* If there is an uppercase acronym — a sequence of uppercase chars — they are considered as a whole word from the start to second-to-last character of the sequence:
121
+
* `URLMapping` -> `url-mapping`, `myHTTPAuth` -> `my-http-auth`. Non-letter characters allow the word to continue:
0 commit comments