-
Notifications
You must be signed in to change notification settings - Fork 2
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
Evaluate typescript-plugin-css-modules #74
Comments
The editor integration is quite nice: The big drawback is unfortunately that TypeScript plugins are not run at compilation time. Therefore you only see the errors in the IDE, not for example when linting on CI. See microsoft/TypeScript#16607. I also tried running the type checks with So probably for now the ESLint plugin is still the better option. |
This plugin provides one of the best experiences of css-modules in a typescript project and the draw back of not having the errors in build time is huge. |
Oh hi @barak007, thanks for chiming in! Are you a user of eslint-config-molindo? I'd also be interested in a way to get the errors from this plugin at build time. |
I'm not aware of |
Oh ok, I was just curious since you commented on this repo! I unfortunately don't have a solution here yet. But if you have any link to follow along on your progress I'd be curious. |
I got here from the typescript issue and honestly thought this issue is in the Typescript repo 😭😯. |
Not integrated with TypeScript, but this also improves DX with CSS Modules without introducing complexity: https://marketplace.visualstudio.com/items?itemName=clinyong.vscode-css-modules |
https://www.npmjs.com/package/typescript-plugin-css-modules
The text was updated successfully, but these errors were encountered: