Added
- promql/regexp check will now look for smelly regexp selectors.
See check docs for details. - promql/range_query now allows to configure a custom maximum
duration for range queries - #1064. - Added
--enabled
flag to the pint command. Passing this flag will only run selected check(s). - Added
state
option to the rulematch
block. See configuration docs for details.
Fixed
- Don't try to report problem on unmodified files when using GitHub reporter.
- If there is a pint config file present then pint will now always add it to the
parser
blockexclude
list.
This is to avoid trying to parse it as a rule file if it's included in the same folder as rules.