- Fixes an issue where the
:extraneous_sizerule would be raised when using a variable in asizeexpression.
- Suggest patterns in the form of
<<x::size(y)>>to be rewritten as<<x::y>>. - Fix suggested pattern strings sometimes having a trailing
::in Credo output.
- Treat
bytesandbitsboth as units. Fixes a false warning when using:<<x::4-bits>>. - Bump dependencies and Elixir version in CI.
- Update code formatting to be more consistent.
- Treat
bitstring/bitswith the same rules asbinary/bytes(#13). - Do not allow
size(constant)withintergerandfloat.
- Create more specific rules around
bytes,binary, andsize(x)in patterns. (#7). - Fix not handling
unitcorrectly.
- Adds special case for
bytesandbinaryoptions. Size should be specified before these types.
- Improve AST parser logic to handle 2, 3, and 4 element patterns.
- Pretty print the pattern in the correct format, along with the issue.
- Initial Hex release 🎉