diff options
author | Stanley Shyiko <stanley.shyiko@gmail.com> | 2018-05-02 20:24:37 -0700 |
---|---|---|
committer | Stanley Shyiko <stanley.shyiko@gmail.com> | 2018-05-02 20:24:37 -0700 |
commit | 000c0bd75b4c649afb46b211900ede08065d1db7 (patch) | |
tree | c5f45dc9315614af647b8fbb3a101d59a757bdbc | |
parent | 8de4155cb2cb36cfd686f968abf81abc6cf28f3c (diff) | |
download | ktlint-000c0bd75b4c649afb46b211900ede08065d1db7.tar.gz |
Updated refs to latest (0.23.0) release
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -46,7 +46,7 @@ It's also [easy to create your own](#creating-a-reporter). - When class/function signature doesn't fit on a single line, each parameter must be on a separate line; - Consistent string templates (`$v` instead of `${v}`, `${p.v}` instead of `${p.v.toString()}`); - Consistent order of modifiers; -- Consistent spacing after keywords, commas; around colons, curly braces, infix operators, etc; +- Consistent spacing after keywords, commas; around colons, curly braces, infix operators, comments, etc; - Newline at the end of each file (not enabled by default, but recommended) (set `insert_final_newline=true` in .editorconfig to enable (see [EditorConfig](#editorconfig) section for more)). @@ -72,7 +72,7 @@ max_line_length=off > Skip all the way to the "Integration" section if you don't plan to use `ktlint`'s command line interface. ```sh -curl -sSLO https://github.com/shyiko/ktlint/releases/download/0.22.0/ktlint && +curl -sSLO https://github.com/shyiko/ktlint/releases/download/0.23.0/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ ``` @@ -166,7 +166,7 @@ $ ktlint --install-git-pre-commit-hook <dependency> <groupId>com.github.shyiko</groupId> <artifactId>ktlint</artifactId> - <version>0.22.0</version> + <version>0.23.0</version> </dependency> <!-- additional 3rd party ruleset(s) can be specified here --> </dependencies> @@ -196,7 +196,7 @@ configurations { } dependencies { - ktlint "com.github.shyiko:ktlint:0.22.0" + ktlint "com.github.shyiko:ktlint:0.23.0" // additional 3rd party ruleset(s) can be specified here // just add them to the classpath (e.g. ktlint 'groupId:artifactId:version') and // ktlint will pick them up |