-
-
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 husky and lintstaged setup from 'prettier' module to 'init' #10713
move husky and lintstaged setup from 'prettier' module to 'init' #10713
Conversation
It is impossible to have an empty configuration => leads to error "Configuration should not be empty" I'm open to suggestion to handle with that. Currently I've just put a useless echo command in it |
Too bad... However it works with an empty You can find a similar situation here: Lines 106 to 110 in 799ff6f
And the corresponding unit tests in CypressModuleFactoryTest .
|
src/test/java/tech/jhipster/lite/generator/prettier/domain/PrettierModuleFactoryTest.java
Outdated
Show resolved
Hide resolved
src/test/java/tech/jhipster/lite/module/infrastructure/primary/ModulesSteps.java
Outdated
Show resolved
Hide resolved
Good idea ! Thank you |
330cbd7
to
64b92aa
Compare
I needed to rename src/main/resources/generator/init/.lintstagedrc.cjs into src/main/resources/generator/init/.lintstagedrc.template.cjs because otherwise error when commiting because configuration empty |
5195e40
to
01f3595
Compare
01f3595
to
40cebf6
Compare
Fix #10701