Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce consistency for every alias #5

Open
sparksp opened this issue May 15, 2020 · 0 comments · May be fixed by #15
Open

Enforce consistency for every alias #5

sparksp opened this issue May 15, 2020 · 0 comments · May be fixed by #15
Labels
NoInconsistentAliases Relates to the NoInconsistentAliases rule

Comments

@sparksp
Copy link
Owner

sparksp commented May 15, 2020

We will check every import alias across the project to ensure they are aliased consistently, and report any that are inconsistent. We will try to report only the errant aliases. For example, if you've imported Html.Attributes as Attr fifteen times and as A once then we'll report just that one.

Draft configuration

config : List Rule
config =
    [ NoInconsistentAliases.config []
        |> NoInconsistentAliases.discoverAliases
        |> NoInconsistentAliases.rule
    ]
@sparksp sparksp added this to To do in NoInconsistentAliases May 15, 2020
@sparksp sparksp added the NoInconsistentAliases Relates to the NoInconsistentAliases rule label May 17, 2020
@sparksp sparksp linked a pull request Jun 2, 2020 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NoInconsistentAliases Relates to the NoInconsistentAliases rule
Projects
Development

Successfully merging a pull request may close this issue.

1 participant