`camelCase` option is not working
See original GitHub issueDescribe the bug
As title, the generated definition is {}
To Reproduce Steps to reproduce the behavior:
{
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": {
"camelCase": "camelCase",
"customMatcher": "\\.m\\.less$"
}
}
]
}
I’ve already have:
declare module '*.less' {
const styles: Record<string, string>;
export = styles;
}
and
// workspace `settings.json`
{
"settings": {
"typescript.tsdk": "node_modules/typescript/lib"
}
}
Expected behavior No error
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
- OS: macOS Catalina
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
CamelCase not working in net core 6 web api - Stack Overflow
After many tries I solved this problem. In latest version there is no default issue with "BaseController" but same issue with ...
Read more >camelcase-keys - npm
Convert object keys to camel case. ... Start using camelcase-keys in your project by running `npm i ... camelcaseKeys(input, options?)
Read more >Grid property display issues in .NET Core 6.0 application ...
Grid property display issues in .NET Core 6.0 application (suspect camel case problem - but JSON Serialization tips don't work!)
Read more >CamelCase should be a page-level option | Confluence ... - Jira
CamelCasing should be able to be turned off for a whole block of text, not just one or two words. We have thousands...
Read more >camelcase - ESLint - Pluggable JavaScript Linter
This rule has an object option: "properties": "always" (default) enforces camelcase style for property names; "properties": "never" does not check property ...
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

@mrmckeb In the release page, it’s named
localsConvention?Hi @JounQin, we’ve just released v2.0.0 which resolves this issue (the rule is now renamed to
classnameTransform).Release notes and migration steps can be found here: https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v2.0.0
Please let me know if you have any other issues or feedback! And thanks for your patience.