eslint-plugin-css-modules
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
Thanks for this nice plugin to `eslint`! It helps keeping the `.scss` files lean and clean! 🎉 I'm facing an unexpected behaviour with a false positive `css-modules/no-undef-class` error. I think...
I use postcss to transform my css code. and I use nest syntax in my .css file. but the linter can't recognise the nest code in .css. I found here...
The ESLint warning is stating that the classes carouselListActive and carouselItemActive are detected as unused in the SubMenuCarousel.module.scss file. But they are not exist.   TSX ``` import cn...
The following code demonstrates the issue ```scss /* ./src/styles/shared.scss */ .btn { font: inherit; } ``` ```tsx // ./src/elements/buttons/button.tsx import shared from "@/styles/shared.scss"; export default function Button() { // css-modules...
The issue is in the version 2.12.0, works fine for 2.11.4
https://github.com/atfzl/eslint-plugin-css-modules/issues/49 Per [CSS Modules Spec](https://github.com/css-modules/css-modules/blob/master/README.md#css-modules), animation names like `@keyframes animationName` should be supported: > A CSS Module is a CSS file in which all class names and animation names are...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.3 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
Fixes #54