github carthage-software/mago 0.22.2
Mago 0.22.2

latest releases: 1.0.0-rc.13, 1.0.0-rc.12, 1.0.0-rc.11...
8 months ago

Mago 0.22.2 🪄

This release introduces a new filtering option for the mago lint command and adds more flexibility to the strictness/require-strict-behavior rule.

✨ New Features

  • Linter: --minimum-level option: The mago lint command now accepts a --minimum-level option. This allows you to filter linting results based on the severity level. You can specify info, help, warning, or error. If any issue with the specified or higher severity level is found, the command will exit with a non-zero code. This is useful for configuring CI pipelines to fail on warnings, for example (#174) by @Zuruuh.

🛠️ Enhancements

  • strictness/require-strict-behavior rule: Added the allow-loose-behavior option to this rule. When enabled, the rule allows explicitly disabling strict behavior in functions that support it by passing false as the $strict parameter. By default, the rule still enforces using strict behavior.

We hope these changes improve your linting experience and provide you with more control over your code analysis workflow.


Full Changelog: 0.22.1...0.22.2

Don't miss a new mago release

NewReleases is sending notifications on new releases.