Skip to content

Custom checks for Credo, the Elixir static analysis tool

Notifications You must be signed in to change notification settings

tallarium/credo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Tallarium) Credo

Custom Elixir rules for the Credo static code analysis tool.

Rules

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 Destructure
  • TallariumCredo.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.

Releases

  1. Update the :version field in mix.exs
  2. Commit, tag and push the change as a separate branch
  3. Publish the package.

About

Custom checks for Credo, the Elixir static analysis tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages