Skip to content

v2.4.0

Compare
Choose a tag to compare
@jdkato jdkato released this 20 Sep 17:26
· 510 commits to master since this release
4b5a384

This release introduces support for regex in substitution's expected value, which allows for more complex comparisons that involve multiple options:

extends: substitution
message: "Use 'Caution:', 'Warning:', or 'Important:'."
level: error
nonword: true
scope: raw
swap:
  # The right-hand side could only be regular strings previously:
  'CAUTION: \*\*\w+:\*\*': 'CAUTION: \*\*(?:Caution|Warning|Important):\*\*'

See #233.

Changelog

4b5a384 feat: support regex in substitution's expected value
9d551c8 refactor: update rules and increase timeout
7123297 perf: use a channel for rule results
50fdb15 refactor: make timeout configurable
0fd0e35 refactor: exlude code from summary
d34ebbf fix: use Block.Text instead of Block.Raw
dbe2e18 fix: unicode-related off-by-one
18ffd9a refactor: set a hard timeout for external calls
d921611 refactor: set matchless alerts to 1:1