Thanks to visit codestin.com
Credit goes to github.com

Skip to content

slerpteam/slerp-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlerpChecks

Custom Credo checks to use in your project

Checks

SlerpChecks.Warning.MockCheck

Checks for usage of the Mock library and suggests using Hammox instead:

{SlerpChecks.Warning.MockCheck, []}

SlerpChecks.Warning.StrictApplicationCalls

Checks for application config calls that provide defaults or don't throw an error (i.e. fetch_env, get_env and compile_env)

{SlerpChecks.Warning.StrictApplicationCalls, []}

SlerpChecks.Warning.EnvCallOutsideOfRuntime

Checks for environment variable fetches outside of runtime.exs

{SlerpChecks.Warning.EnvCallOutsideOfRuntime, []}

Installation

def deps do
  [
    {:slerp_checks, github: "slerpteam/slerp-checks", branch: "main", only: [:dev, :test]}
  ]
end

About

Custom Credo checks to use in your Elixir project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages