-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Move 'base64' and 'slug' shared kernels to 'shared' top-level package #11016
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work, @murdos !
import static tech.jhipster.lite.module.domain.JHipsterModule.*; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.artifactId; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.from; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.groupId; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.javaDependency; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.mavenPlugin; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.moduleBuilder; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.pluginExecution; | ||
import static tech.jhipster.lite.module.domain.JHipsterModule.to; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@murdos : The expand import settings are defined in IntelliJ IDEA, or are they handled by Prettier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, in this commit, it was changed to * instead of staying expanded. I wish there were a way to make this setting the same for everyone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I had to expand them, otherwise Intellij was not able correctly update imports for feature and module slugs :/
There's a way to uniform imports: we can add a checkstyle rule that forbid *
imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I don't like * at all.
It's often a source of conflicts when multiple developers touch the same file on different branches, and it's not explicit.
I usually forbid them on my projects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can follow your lead as every IDE collapses the import sections. Let's do the checkstyle configuration l😄😉
1ee58e4
to
4f5723c
Compare
Also fixes a few misqualified contexts: maven, gradle and ts-loader