Skip to content

Commit

Permalink
Bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke committed Nov 26, 2024
1 parent b34a66d commit faa1fd0
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This changelog is loose. Versions are not semantic, they are incremental. Splint

## Unreleased

## 1.19.0 - 2024-11-26

### New Rules

- `style/redundant-nested-call`: Prefer `(+ 1 2 3 4)` to `(+ 1 2 (+ 3 4))`.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ More explicit instructions can be found in the [installation][installation], [us
### Clojure CLI

```clojure lazytest/skip=true
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.19.0"}
org.clojure/clojure {:mvn/version "1.11.1"}}
:main-opts ["-m" "noahtheduke.splint"]}}
```
Expand All @@ -33,7 +33,7 @@ Run with `clojure -M:splint [args...]`.
Add this to `project.clj`:

```clojure lazytest/skip=true
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.19.0"]
[org.clojure/clojure "1.11.1"]]}}
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]})
```
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ When used in a project as a library, put it in an alias to make it easier to inv
## Clojure CLI

```clojure
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.19.0"}
org.clojure/clojure {:mvn/version "1.11.1"}}
:main-opts ["-m" "noahtheduke.splint"]}}
```
Expand All @@ -17,7 +17,7 @@ Run with `clojure -M:splint [args...]`.
Add this to `project.clj`:

```clojure
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.19.0"]
[org.clojure/clojure "1.11.1"]]}}
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]}
```
Expand All @@ -34,7 +34,7 @@ In the meantime, it runs fast on babashka and can be installed using `bbin`:
$ bbin install io.github.noahtheduke/splint
{:coords
#:git{:url "https://github.com/noahtheduke/splint",
:tag "v1.18.0",
:tag "v1.19.0",
:sha "..."},
:lib io.github.noahtheduke/splint}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ Two `not`s cancel each other out.

| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
| ------------------ | ---- | ----------- | ------------- | --------------- |
| true | true | true | 0.1 | 0.1 |
| true | true | true | 0.1 | 1.19.0 |

`vec` and `set` are succinct and meaningful.

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ It's nice when the default branch is consistent.

| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
| ------------------ | ---- | ----------- | ------------- | --------------- |
| true | true | true | 1.0 | 1.0 |
| true | true | true | 1.0 | 1.19.0 |

`(defn [])` is preferable over `(def (fn []))`. Extrapolate to closures too.

Expand Down Expand Up @@ -1106,7 +1106,7 @@ Directly nested lets can be merged into a single let block.

| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
| ------------------ | ---- | ----------- | ------------- | --------------- |
| true | true | false | <<next>> | <<next>> |
| true | true | false | 1.19.0 | 1.19.0 |

Some clojure.core functions and macros take a variable number of args, so there's no need to nest calls.

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```text
$ clojure -M:splint --help
splint v1.18.0
splint v1.19.0
Usage:
splint [options]
Expand Down
2 changes: 1 addition & 1 deletion resources/SPLINT_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.0
1.19.0
8 changes: 4 additions & 4 deletions resources/config/default.edn
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
{:description "Prefer `vec` or `set` to `(into [] ...)`."
:enabled true
:added "0.1"
:updated "<<next>>"}
:updated "1.19.0"}

lint/let-if
{:description "Prefer `if-let` to `(let [x (abc)] (if x y z))`."
Expand Down Expand Up @@ -406,7 +406,7 @@
{:description "Prefer `(defn [])` to `(def (fn []))`."
:enabled true
:added "1.0"
:updated "<<next>>"}
:updated "1.19.0"}

style/eq-false
{:description "Prefer `false?` to `(= x false)`."
Expand Down Expand Up @@ -642,8 +642,8 @@
style/redundant-nested-call
{:description "Prefer `(+ 1 2 3 4)` to `(+ 1 2 (+ 3 4))`."
:enabled true
:added "<<next>>"
:updated "<<next>>"}
:added "1.19.0"
:updated "1.19.0"}

style/redundant-regex-constructor
{:description "Rely on regex literal."
Expand Down

0 comments on commit faa1fd0

Please sign in to comment.