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

There's no possibility to disable leading-underscore check in clean-import-paths #332

Open
mik01aj opened this issue Oct 19, 2015 · 1 comment

Comments

@mik01aj
Copy link

mik01aj commented Oct 19, 2015

Imho clean-import-paths should be split into 2 smaller rules:

  • leading-underscore-in-import-path
  • filename-extension-in-import-path

My use case is: I'd like to force no extension in import paths but I don't care about underscores.

@mik01aj mik01aj changed the title No possibility to disable leading-underscore check in clean-import-paths There's no possibility to disable leading-underscore check in clean-import-paths Oct 19, 2015
@davidosomething
Copy link
Contributor

👍 different case for me -- if i'm importing a partial i want to enforce the underscore, whereas i might be importing a full file (e.g. from a package) in which case i want to allow no underscore.

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

No branches or pull requests

3 participants