indexr
indexr copied to clipboard
Different formatting options for the exported module name
Hi there,
It would be useful if you could specify a different formatter than camelCase for the exported module name (export { default as moduleName } from '/path/to/module.name').
I am working on a React app, and want my exports in PascalCase to make them look consistent with other components.
Ideally this could be 'configurable' but it's kind of hard to have a javascript function as a config value. I am thinking a mvp could be a flag for camelCase vs PascalCase?
The camelCase repo lists this in their related list for a PascalCase formatter.