Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

jfmengels/lint-unused

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DEPRECATION NOTICE

elm-lint has been deprecated in favor of elm-review. To work with elm-review, this package has been republished under the name review-unused.

lint-unused

Provides elm-lint rules to detect unused functions and types in your Elm files.

Provided rules

Note

Since elm-lint only works in the scope of a single file, these rules will not report elements that are exposed but not used anywhere in the project. If you wish those to be reported, check out elm-xref.

Example configuration

module LintConfig exposing (config)

import Lint.Rule exposing (Rule)
import NoUnused.Variables
import NoUnused.CustomTypeConstructors

config : List Rule
config =
    [ NoUnused.Variables.rule
    , NoUnused.CustomTypeConstructors.rule
    ]

About

Provides elm-lint rules to detect unused functions and types in your Elm files

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages