Closed mshima closed 4 years ago
Fix 1 and 2 are easy. I done locally. I've started fix 3, but I don't want to waste time if 1 or 2 are enough. I don't like fix 4.
I want to know the better approach.
I an in favor of fix 1.
adding a bounty as it's a bug
We should forbid that...
Overview of the issue
JHipster validation allows underscore on entityName, but the generated client code is invalid. Both angular/react are affected.
Lots of
error Interface 'ITest_dashed' must be PascalCased @typescript-eslint/class-name-casing
Motivation for or Use Case
Don't allow a invalid code to be generated.
Reproduce the error
Create an all default project
Create an entity with underscore
Related issues
Suggest a Fix
@typescript-eslint/class-name-casing
?JHipster Version(s)
master
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System