Skip to content

Commit 2a14294

Browse files
Prepare next development iteration after release 1.2.2 (#1483)
Co-authored-by: GitHub <[email protected]>
1 parent e38af67 commit 2a14294

17 files changed

Lines changed: 287 additions & 45 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DiKTat is a strict [coding standard ](info/guide/diktat-coding-convention.md) fo
2020
as AST visitors on the top of [KTlint](https://ktlint.github.io/). It can be used for detecting and autofixing code smells in CI/CD process.
2121
The full list of available supported rules and inspections can be found [here](info/available-rules.md).
2222

23-
Now diKTat was already added to the lists of [static analysis tools](https://github.com/analysis-tools-dev/static-analysis), to [kotlin-awesome](https://github.com/KotlinBy/awesome-kotlin) and to [kompar](https://catalog.kompar.tools/Analyzer/diKTat/1.2.1). Thanks to the community for this support!
23+
Now diKTat was already added to the lists of [static analysis tools](https://github.com/analysis-tools-dev/static-analysis), to [kotlin-awesome](https://github.com/KotlinBy/awesome-kotlin) and to [kompar](https://catalog.kompar.tools/Analyzer/diKTat/1.2.2). Thanks to the community for this support!
2424

2525
## See first
2626

@@ -56,11 +56,11 @@ Main features of diktat are the following:
5656
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.46.1/ktlint && chmod a+x ktlint
5757
```
5858

59-
1. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.1/diktat-1.2.1.jar)
59+
1. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.2/diktat-1.2.2.jar)
6060

6161
**OR** use `curl`:
6262
```console
63-
$ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.1/diktat-1.2.1.jar
63+
$ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.2/diktat-1.2.2.jar
6464
```
6565

6666
### Run diKTat
@@ -182,7 +182,7 @@ This plugin is available since version 0.1.5. You can see how the plugin is conf
182182

183183
```kotlin
184184
plugins {
185-
id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.1"
185+
id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.2"
186186
}
187187
```
188188

@@ -193,7 +193,7 @@ buildscript {
193193
mavenCentral()
194194
}
195195
dependencies {
196-
classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.1")
196+
classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.2")
197197
}
198198
}
199199

@@ -215,9 +215,9 @@ Also in `diktat` extension you can configure different reporters and their outpu
215215
If `output` is set, it should be a file path. If not set, results will be printed to stdout.
216216
```kotlin
217217
diktat {
218-
// since 1.2.1 to keep in line with maven properties
218+
// since 1.2.2 to keep in line with maven properties
219219
reporter = "json" // "html", "json", "plain" (default), "sarif"
220-
// before 1.2.1
220+
// before 1.2.2
221221
// reporterType = "json" // "html", "json", "plain" (default), "sarif"
222222

223223
output = "someFile.json"
@@ -259,7 +259,7 @@ spotless {
259259
```kotlin
260260
spotless {
261261
kotlin {
262-
diktat("1.2.1").configFile("full/path/to/diktat-analysis.yml")
262+
diktat("1.2.2").configFile("full/path/to/diktat-analysis.yml")
263263
}
264264
}
265265
```
@@ -290,7 +290,7 @@ Diktat can be run via spotless-maven-plugin since version 2.8.0
290290

291291
```xml
292292
<diktat>
293-
<version>1.2.1</version> <!-- optional -->
293+
<version>1.2.2</version> <!-- optional -->
294294
<configFile>full/path/to/diktat-analysis.yml</configFile> <!-- optional, configuration file path -->
295295
</diktat>
296296
```

diktat-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>org.cqfn.diktat</groupId>
1111
<artifactId>diktat-parent</artifactId>
12-
<version>1.2.2-SNAPSHOT</version>
12+
<version>1.2.3-SNAPSHOT</version>
1313
</parent>
1414

1515
<dependencies>

diktat-gradle-plugin/gradle-plugin-marker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>diktat-gradle-plugin</artifactId>
66
<groupId>org.cqfn.diktat</groupId>
7-
<version>1.2.2-SNAPSHOT</version>
7+
<version>1.2.3-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

diktat-gradle-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>diktat-parent</artifactId>
77
<groupId>org.cqfn.diktat</groupId>
8-
<version>1.2.2-SNAPSHOT</version>
8+
<version>1.2.3-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

diktat-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>diktat-parent</artifactId>
77
<groupId>org.cqfn.diktat</groupId>
8-
<version>1.2.2-SNAPSHOT</version>
8+
<version>1.2.3-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

diktat-rules/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>org.cqfn.diktat</groupId>
1111
<artifactId>diktat-parent</artifactId>
12-
<version>1.2.2-SNAPSHOT</version>
12+
<version>1.2.3-SNAPSHOT</version>
1313
</parent>
1414

1515
<properties>

diktat-ruleset/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>org.cqfn.diktat</groupId>
1010
<artifactId>diktat-parent</artifactId>
11-
<version>1.2.2-SNAPSHOT</version>
11+
<version>1.2.3-SNAPSHOT</version>
1212
</parent>
1313

1414
<dependencies>

diktat-test-framework/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>org.cqfn.diktat</groupId>
1111
<artifactId>diktat-parent</artifactId>
12-
<version>1.2.2-SNAPSHOT</version>
12+
<version>1.2.3-SNAPSHOT</version>
1313
</parent>
1414

1515
<dependencies>

examples/gradle-groovy-dsl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "org.cqfn.diktat.diktat-gradle-plugin" version "1.2.1"
2+
id "org.cqfn.diktat.diktat-gradle-plugin" version "1.2.2"
33
}
44

55
repositories {

examples/gradle-groovy-dsl/diktat-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@
217217
# ij_kotlin_continuation_indent_for_expression_bodies in .editorconfig.
218218
extendedIndentForExpressionBodies: false
219219
# If true: if expression is split by newline after operator like +/-/`*`, then the next line is indented with two indentations instead of one
220-
extendedIndentAfterOperators: false
220+
extendedIndentAfterOperators: true
221+
# If true: when dot qualified expression starts on a new line, this line will be indented with two indentations instead of one
222+
extendedIndentBeforeDot: false
221223
# The indentation size for each file
222224
indentationSize: 4
223225
# Checks that there is no empty blocks in a file.

0 commit comments

Comments
 (0)