Custom Elixir rules for the Credo static code analysis tool.
The current rules are listed below:
TallariumCredo.Checks.DefinitionOrder
- functions should be ordered in a top-down fashion.TallariumCredo.Checks.Destructure
- encourage a consistent use of DestructureTallariumCredo.Checks.EctoOnlyMacroSyntax
- permit only the use of the macro syntax from the Ecto.Query module.TallariumCredo.Checks.NoRuntimeAccess
- disallows runtime access to the specifid modules.TallariumCredo.Checks.NoSpecParameterNames
- disallows the use of parameter names in the spec.
- Update the
:version
field inmix.exs
- Commit, tag and push the change as a separate branch
- Publish the package.