Skip to content

primait/mix_unused_discoveries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MixUnusedDiscoveries

A collection of usages discovery modules to use with mix_unused.

Installation

If available in Hex, the package can be installed by adding mix_unused_discoveries to your list of dependencies in mix.exs:

def deps do
  [
    {:mix_unused_discoveries, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mix_unused_discoveries.

Usage

Enable the Unreachable analyzer and add MixUnusedDiscovers to its usages discovery modules:

[
  checks: [
    {MixUnused.Analyzers.Unreachable,
      %{
        usages_discovery: [MixUnusedDiscoveries]
      }}
  ]
]

About

Collection of usages discovery modules for mix_unused

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 7