v0.2.0
This release adds a new idiomatic
category, meant for rules that indicate that there is a more idiomatic way to do something. Two new rules have been added to that category:
These rules will flag custom implementations of "has_key" function and "contains" respectively, as more idiomatic ways to achieve the same are now available (see links for details).
Additionally, this release fixes a bug where Regal would fail on inputs where a function was declared more than one time in a policy (i.e. with the same name).
On the community side, we've added a logo and a a code of conduct doc.
The rules have also been refactored so that now each rule resides in its own file rather than all of them being grouped in a big file per category. This makes it easier to quickly find rules to work with, and hopefully also to contribute new ones.
Changelog
- b1ad172: Add CoC (#166) (@anderseknert)
- 8852a3a: Add logo (#167) (@charlieegan3)
- aab76ff: Don't crash on identically named functions (#169) (@anderseknert)
- b57ac0e: refactor: one rule, one file (#170) (@anderseknert)
- 67b0ed8: Add idiomatic category (#171) (@anderseknert)
- a9c350b: Remove unused imports (#172) (@anderseknert)