Esc

COMARK1601 · warning

comark/metrics/invalid-better

Write better as lower or higher

better says which way is good news, so the change is colored as better or worse. It takes lower, for sizes and durations, or higher, for scores and counts. Any other word is ignored and the change shows in a neutral color.

Incorrect

Pond cleanup time :delta{from=40 to=32 unit="min" better="less"}
md
lint-comark example.mdexample.md:1:1 comark/metrics/invalid-better:delta 1: better must be lower or higher, such as better="lower" for a size or a duration.Change the block as the message says.✖ 1 problem

Correct

Pond cleanup time :delta{from=40 to=32 unit="min" better="lower"}
md
lint-comark example.md✔ No problems