-
Probably we will need to delete all tests and simply test real scenarios on the executable save-cli
-
## Describe the bug
`ANNOTATION_NEW_LINE` doesn't apply to primary constructor annotations and/or `WRONG_INDENTATION` is incorrectly applied when a class only consists of a primary constructor.
Gi…
-
It would be nice to have Gradle Configuration Cache Support in diktat-gradle-plugin.
Now I get this error when running the `:diktatCheck` task wih Gradle Configuration Cache enabled:
```
2 problems…
-
Benedikt should be able to fix code and make commit suggestions on GitHub
Sub-tasks:
* [ ] https://github.com/saveourtool/diktat/issues/1538.
* [ ] The action, when run in _fix_ mode, should …
-
## Describe the bug
Variable names ending with a capital letter are considered errors.
## Expected behavior
no warnings/errors
## Observed behavior
```
[VARIABLE_NAME_INCORRECT_FORMAT]…
-
## 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 let…
-
## Describe the bug
Parses a string with keywords as keywords
## Expected behavior
## Observed behavior
## Steps to Reproduce
## Environment information
* diktat version:
* build tool (ma…
-
## Describe the bug
toggleOnOff() switch not skipping code in extendig JpaRepository interface
example below, but I changed some details because it is a fragment of code from work project.
## Ex…
-
## Describe the bug
`Diktat` resolves `locations/physicalLocation/region` for UNUSED_IMPORT always to `1:1`:
```json
{
"level": "error",
"locations": [
{…
-
**Update:** we already have _Gradle_ plug-in tests available under `diktat-gradle-plugin/src/functionalTest/`,
- broken with #1428,
- re-enabled with #1579,
so the primary focus of this task is…