You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For "css-modules/no-undef-class" I'm facing an issue similar to others that have been fixed in the past.
Sometimes css module classes can be namespaced with globals as such:
Both accept and reject are valid classes, however the plugin drops them and they show up as errors in my repo: 46:65 error Class or exported property 'accept' not found css-modules/no-undef-class
I think it should be possible to disregard the global wrapper but still evaluate its contents to find valid classes within it.
Environment
I'm running:
eslint 7.32.0
eslint-plugin-css-modules 2.12.0
sass 1.75.0
node 18.16.1
The text was updated successfully, but these errors were encountered:
For
"css-modules/no-undef-class"
I'm facing an issue similar to others that have been fixed in the past.Sometimes css module classes can be namespaced with globals as such:
Both accept and reject are valid classes, however the plugin drops them and they show up as errors in my repo:
46:65 error Class or exported property 'accept' not found css-modules/no-undef-class
I think it should be possible to disregard the global wrapper but still evaluate its contents to find valid classes within it.
Environment
I'm running:
The text was updated successfully, but these errors were encountered: