eslint-plugin-css-modules icon indicating copy to clipboard operation
eslint-plugin-css-modules copied to clipboard

Project status: NOT MAINTAINED; Checks that you are using the existent css/scss classes, no more no less

Results 44 eslint-plugin-css-modules issues
Sort by recently updated
recently updated
newest added

Fixes #48 using `traverseByTypes` because I know I'll conflict with #80

This PR updates all dependencies to latest and adds the support to resolve modules as configured with [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import). This still requires an update for travis-ci or publishing to npm registry.

Webpack css-loader introduced breaking change from version 7.0: https://github.com/webpack-contrib/css-loader/releases/tag/v7.0.0 **Before:** ```js import style from "./style.css"; console.log(style.myClass); ``` **After:** ```js import * as style from "./style.css"; console.log(style.myClass); ``` **Expected**: eslint-plugin-css-modules throws...

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: ```scss :global(.some-class) {...