Add an option to remove underscores from generated interfaces.
See original GitHub issueCodegen generates interfaces with underscores.
For example: myQuery_foo_bar
.
This default behaviour causes problems when using ESLint camelcase rule -https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/camelcase.md.
Importing these interfaces triggers a linting error.
I’d suggest adding --no-underscores
flag that would cause interfaces to be generated without underscores. For example: myQueryFooBar
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:34
- Comments:5
Top Results From Across the Web
How to remove underscore from all the columns
I would use a technique like this to replace the underscores after the Crosstab. Just for context and educational purposes. The dynamic rename ......
Read more >c++ - __cdecl forcing prefix with underscore - Stack Overflow
The Borland C/C++ compiler has an option to turn underscore generation on symbols on and off. -u (the default) generates underscores on symbol...
Read more >Code Gen Options (The GNU Fortran Compiler)
You can figure out the other form by either removing no- or adding it. ... This does not affect the generation of code...
Read more >[GA4] Modify and create events via the user interface
Event configuration options · Modify event overwrites an existing event. You can add, change, or delete conditions and parameters. · Create event creates...
Read more >Underscore.js
Underscore 2.x will likely remove support for some outdated environments. Collection Functions (Arrays or Objects). each _.each(list, iteratee, [context]) Alias ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having the ability to pick a “namingConvention” such as: Underscores (aka snake_case), camelCase, PascalCase, kebab-case and any other common variation I may have missed, would be ideal.
e.g:
or
Any plans for this issue? Would be great to have.