Peter Trifanov

Results 72 issues of Peter Trifanov

Build for target `linuxArm64` is currently not configured. Would be great to publish okio for this target too, maybe with other `linux*` targets too. I can try to prepare a...

blocked

## Describe the bug I believe, caused by https://github.com/saveourtool/diktat/commit/998d0e97bf838eec12f7852568b5d4932401e707 ## Observed behavior https://github.com/saveourtool/save-cli/security/code-scanning/132 https://github.com/saveourtool/save-cli/security/code-scanning/131 Reproducible on diktat-demo with this snippet: ```kotlin package com.saveourtool.save.reporter.plain open class PlainTextReporter { @Suppress("MAGIC_NUMBER", "MagicNumber") override...

bug
good first issue
regression

Initially, I thought, that the main problem is that we mixed up the comments, since they are inline May be we can at least open an separate issue for this?...

Now it's confusing: there is documentation, but not where diktat expects it, so it says that there is no documentation. ## Environment information * diktat version: 0.4.1

enhancement

## Describe the bug ```kotlin package com.saveourtool.save.reporter.json /** * Reporter that produces a JSON report as a [Report] * * @property out a sink for output * * @param builder...

bug

I have found a reproducer for https://github.com/analysis-dev/diktat/blob/5e2e2ed194a1f74904893ecd8a4c7dd4bb9afd57/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/WhiteSpaceRule.kt#L254-L255 ``` [WARN ] 2022-03-21 18:01:16 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule [WARN ] 2022-03-21 18:01:16 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule...

enhancement
help wanted
good first issue
needed

Either specify `fileTree` with wildcards and use files resolved by gradle or use special gradle class [PatternFilterable](https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/util/PatternFilterable.html) for this or specify globs as string and feed them to ktlint or...

enhancement
help wanted
good first issue
plugins
needed

We mention this in the [`README`](https://github.com/saveourtool/diktat/blob/master/README.md), however this functionality is not implemented (or has been removed at some point). Worth adding and also not very hard.

enhancement
plugins
backlog

## Describe the bug ```kotlin val foo = """|Test1Test.java:1:1: Avoid using default package |Test1Test.java:3:6: Class name should be in PascalCase |Test1Test.java:5:5: Variable name should be in lowerCamelCase |Test1Test.java:7:1: File should...

bug
autofix

* Generate code style: https://github.com/saveourtool/diktat/pull/1398#issuecomment-1164525838 * Update version of ktlint in README: https://github.com/saveourtool/diktat/pull/1398#discussion_r905875206

enhancement
good first issue
infrastructure