HaukeRa
HaukeRa
## Describe the bug When reading the rules configuration from YAML, whitespaces around entries of `testDirs` are not removed. https://github.com/analysis-dev/diktat/blob/759c26500de9c86c58af875f750017f14e3d2208/diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt#L111-L112 ## Expected behavior Whitespaces are removed, as it is done...
## Describe the bug The `String.toPascalCase()` function (used to normalize object and class names) produces unexpected renaming when applied to a string containing multiple consecutive uppercase letters. https://github.com/analysis-dev/diktat/blob/759c26500de9c86c58af875f750017f14e3d2208/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/utils/StringCaseUtils.kt#L126 Example: `IOSExtension`...
## Describe the bug This inspection removes a single letter prefix (e.g. `mFunction` --> `function`). It does not check if the resulting property/variable name is a keyword (e.g. `kClass` -->...
The generator only uses the `type` field to determine the type of the generated field in a class. For example this property: "createdAt": { "type": "string", "description": "The timestamp in...
From [ISO_DATE_TIME_OFFSET format](https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime.format/-date-time-components/-formats/-i-s-o_-d-a-t-e_-t-i-m-e_-o-f-f-s-e-t.html): > .., except that during parsing, specifying the minutes is optional. > > This format differs from [LocalTime.Formats.ISO](https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/-local-time/-formats/-i-s-o.html) in its time part in that specifying the seconds...