You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CHANGES:
### New
- Kakadu/zanuda#13: Add lint that discourages matching a tuple using 'match' expression with single branch
(contributed by @s-khechnev)
- Kakadu/zanuda#18: Add lint about unneeded mutually recursive types
(contributed by @s-khechnev)
- Add command line switch '-skip-level-allow <bool>' to enable/disable lints
with level=Allow. False has higher priority than per-lint command line switch
(for example, `-no-string_concat`)
- Add check for configuration file '.zanuda' in CWD.
- Kakadu/zanuda#22: Add 'reviewer' tool to report lint's a Github review.
(contributed by @s-khechnev)
- Kakadu/zanuda#23: Implement a trial version of the Fix module for auto-correction of lints
(contributed by @Artem-Rzhankoff)
- Kakadu/zanuda#28: Add lint about nested if expressions.
(contributed by @Artem-Rzhankoff)
- Kakadu/zanuda#32: Add lint about constructor names that hide default constructor names
(contributed by @nnemakin)
- Kakadu/zanuda#35: Add lints that detects manual implementations of List.map/fold functions
(contributed by @nnemakin)
- Kakadu/zanuda#50: Propose eta reduction when available (contributed by @jegorpopow)
- Kakadu/zanuda#51: Warn about pattern matching on boolean values (contributed by @jegorpopow)
- Kakadu/zanuda#53: Warn about `"%s"` in formatted strings
- Kakadu/zanuda#54: Detection of unused public declarations. (@Kakadu, initial implementation from @jegorpopow)
At the moment support is kind of flaky: it could be broken by several things.
* Custom `public_name` for library may broke detection of `.cmt[i]` files.
* We [need to](ocaml/dune#9724) do 'dune build @check' to generate all required `cmt` files.
- Kakadu/zanuda#56: Simplify lint about license. We look for required doc-comments anywhere in the file,
not only in the beginning.
- Kakadu/zanuda#60: Skip some checks for some source files (configured via '.zanuda'). Currently this is mutability check and phys_equal check
### Changed
- Kakadu/zanuda#15: Split 'string_concat' lint to check separately patterns 'a^b^c' (level=Allow) and 'List.fold_left (^)' (level=Warn).
(reported by @edwintorok)
- Kakadu/zanuda#16: Calculate test coverage.
- The lint 'mutability_check' now checks for mutability in general: references, mutable record fields, etc.
0 commit comments