Skip to content

Add a check for lib being the first in the pattern #49

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

viraptor
Copy link
Contributor

@viraptor viraptor commented Jun 30, 2022

This is a nixpkgs policy.

Not adding a replacement suggestion at this point, because it seems very tricky to preserve the formatting and potential comments when reordering.

@ilkecan
Copy link
Contributor

ilkecan commented Sep 24, 2022

I think this should be disabled by default if merged. nixpkgs is a single repository but there are countless other repositories that have Nix code inside them.

There could be a nixpkgs specific flag like --nixpkgs to enable lints such as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants