Nariman Abdullin
Nariman Abdullin
Probably we can create a separate `diktat-config,yaml` for frontend. KtLint uses `.editorconfig` for such cases. Probably we can migrate to such approach too
Created a branch with tests which reproduce the issue: https://github.com/saveourtool/diktat/tree/bugfix/error-kdoc-fixing%231650 Looks like `@property` leads to invalid detecting a prev node before `@return` or `@throw`
Hi @colesnodgrass, thanks for raising the issue. According to Diktat's code style, this behavior is expected and `ANNOTATION_NEW_LINE` should not be applied to a primary constructor. We will investigate it...
We use the following pattern to detect lower camel case: `[a-z]([a-z0-9])*([A-Z][a-z0-9]+)*` ```kotlin fun String.isLowerCamelCase(): Boolean = this.matches("[a-z]([a-z0-9])*([A-Z][a-z0-9]+)*".toRegex()) ``` Probably, the regex can be updated to `[a-z]([a-z0-9])*([A-Z][a-z0-9]+)*[A-Z]?`. But need to test...
It's a code generation written on Gradle. It uses `diktat-rules` as dependency in `buildSrc`. As a solution: we can move `Warnings` and `Charters` to toml files and generates enum `Warnings`...
it's duplicated by https://github.com/saveourtool/diktat/issues/1694
We have two two plugins and one external spotless where we can configure rules. We can use code-generation: we specify configuration in a single place and it generates configuration for...
Thanks to @0x6675636b796f75676974687562 it was resolved by updating [`diktat-analysis.yml`](https://github.com/saveourtool/save-cloud/pull/2003/commits/30afa0754945dd82d1e9cca48f166d46f25af396): ```yaml - name: WRONG_OVERLOADING_FUNCTION_ARGUMENTS ignoreAnnotated: - GetMapping - PostMapping - Repository ``` But I think it should be applied automatically (at...
@0x6675636b796f75676974687562 I created a PR with diktat's issue (unused import): https://github.com/saveourtool/save-cloud/actions/runs/4470214826/jobs/7853424666 The build failed, but there is no comment about it. And no message about failing to merge sarif report....
[SARIF Validator](https://sarifweb.azurewebsites.net/Validation) generated files have proper format