athena-framework / athena

An ecosystem of reusable, independent components
https://athenaframework.org
MIT License
211 stars 17 forks source link

Enable `Lint/UselessAssign` ameba rule again but excluding type declarations #446

Closed Blacksmoke16 closed 1 month ago

Blacksmoke16 commented 1 month ago

Context

Follow up to https://github.com/athena-framework/athena/pull/344 to leverage the new ExcludeTypeDeclarations configuration option added via https://github.com/crystal-ameba/ameba/pull/430 instead of totally disabling the rule. Allows retaining actual useless assignments without also flagging all the bundle property macro calls.

Changelog


Before merging, remember to add the athena-framework/athena prefix to the PR number in the PR title