Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 09:05
· 596 commits to main since this release
cb516a4

This release brings three new rules related to comments and metadata annotations:

  • invalid-metadata-attribute (bugs category) flags custom attributes in metadata annotations not placed under the custom attribute.
  • detached-metadata (style category) flags metadata annotations that are "detached" by whitespace from their package or rule.
  • no-whitespace-comment (style category) simply flags comments where the first character following the # is not whitespace.

Additionally, new end-to-end tests exposed a few mistakes in a previous refactoring, which have been fixed. This mistake meant that v0.3.0 failed to correctly run the line-length and function-arg-return rules... so if you started from that release you're really getting five new rules with v0.4.0... good thing we're keeping a fast paced release cadence! Thanks to @kristiansvalland for reporting on this regression.

Changelog