clj-commons / clj-commons/failjure
clj-kondo config broken for `try*` (triggers: `missing-clause-in-try`)
Open
- Dominant language
- Clojure
- Stars
- 427
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
The current clj-kondo config shipped with the project maps `failjure.core/try*` to `clojure.core/try`. This causes clj-kondo to complain about the the expression `Missing catch or finally in try`.
current workaround is to set `.clj-kondo/config.edn` to be:
```edn
{:lint-as {failjure.core/try* clj-kondo.lint-as/def-catch-all}}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the shipped .clj-kondo/config.edn and compare its failjure.core/try* mapping with the workaround in the issue. Run clj-kondo on an expression using try*; done means the missing-clause-in-try warning is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100