Skip to content

Commit d3c3563

Browse files
committed
Bump version for release
1 parent f05ebd9 commit d3c3563

File tree

8 files changed

+14
-12
lines changed

8 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This changelog is loose. Versions are not semantic, they are incremental. Splint
44

55
## Unreleased
66

7+
## 1.18.0 - 2024-10-03
8+
79
### New Rules
810

911
- `lint/defmethod-names`: Require that `defmethod` calls define a name for the function body. This helps improve stack traces. Suggested names are built from the dispatch value and cannot be trusted to be unique or usable, so while the rule is safe, it does not support autocorrect. Disabled by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ More explicit instructions can be found in the [installation][installation], [us
2121
### Clojure CLI
2222

2323
```clojure
24-
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.17.1"}
24+
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
2525
org.clojure/clojure {:mvn/version "1.11.1"}}
2626
:main-opts ["-m" "noahtheduke.splint"]}}
2727
```
@@ -33,7 +33,7 @@ Run with `clojure -M:splint [args...]`.
3333
Add this to `project.clj`:
3434

3535
```clojure
36-
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.17.1"]
36+
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
3737
[org.clojure/clojure "1.11.1"]]}}
3838
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]})
3939
```

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ When used in a project as a library, put it in an alias to make it easier to inv
55
## Clojure CLI
66

77
```clojure
8-
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.17.1"}
8+
:aliases {:splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.18.0"}
99
org.clojure/clojure {:mvn/version "1.11.1"}}
1010
:main-opts ["-m" "noahtheduke.splint"]}}
1111
```
@@ -17,7 +17,7 @@ Run with `clojure -M:splint [args...]`.
1717
Add this to `project.clj`:
1818

1919
```clojure
20-
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.17.1"]
20+
:profiles {:dev {:dependencies [[io.github.noahtheduke/splint "1.18.0"]
2121
[org.clojure/clojure "1.11.1"]]}}
2222
:aliases {"splint" ["run" "-m" "noahtheduke.splint"]}
2323
```
@@ -34,7 +34,7 @@ In the meantime, it runs fast on babashka and can be installed using `bbin`:
3434
$ bbin install io.github.noahtheduke/splint
3535
{:coords
3636
#:git{:url "https://github.com/noahtheduke/splint",
37-
:tag "v1.17.1",
37+
:tag "v1.18.0",
3838
:sha "..."},
3939
:lib io.github.noahtheduke/splint}
4040
```

docs/rules/lint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ a `do` to force it into 'expression position'.
5353

5454
| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
5555
| ------------------ | ---- | ----------- | ------------- | --------------- |
56-
| false | true | false | <<next>> | <<next>> |
56+
| false | true | false | 1.18.0 | 1.18.0 |
5757

5858
When defining methods for a multimethod, everything after the dispatch-val is given directly to `fn`. This allows for providing a name to the defmethod function, which will make stack traces easier to read.
5959

docs/rules/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ ffirst is succinct and meaningful.
334334

335335
| Enabled by default | Safe | Autocorrect | Version Added | Version Updated |
336336
| ------------------ | ---- | ----------- | ------------- | --------------- |
337-
| true | true | true | 1.15.0 | <<next>> |
337+
| true | true | true | 1.15.0 | 1.18.0 |
338338

339339
`clojure.test/is` expects `=`-based assertions to put the expected value first.
340340

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
```text
44
$ clojure -M:splint --help
5-
splint v1.17.1
5+
splint v1.18.0
66
77
Usage:
88
splint [options]

resources/SPLINT_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.1
1+
1.18.0

resources/config/default.edn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
lint/defmethod-names
2323
{:description "Specify a function name for defmethod bodies."
2424
:enabled false
25-
:added "<<next>>"
26-
:updated "<<next>>"}
25+
:added "1.18.0"
26+
:updated "1.18.0"}
2727

2828
lint/divide-by-one
2929
{:description "Dividing by 1 is a no-op."
@@ -460,7 +460,7 @@
460460
{:description "With `clojure.test/is`, expected value should be first."
461461
:enabled true
462462
:added "1.15.0"
463-
:updated "<<next>>"}
463+
:updated "1.18.0"}
464464

465465
style/let-do
466466
{:description "`let` has an implicit `do`."

0 commit comments

Comments
 (0)