2.4.0 • Published 2 years ago
eslint-plugin-react-with-styles v2.4.0
eslint-plugin-react-with-styles
ESLint plugin for react-with-styles.
Rules
- react-with-styles/no-unused-styles: Require all styles that are defined to be referenced
- react-with-styles/only-spread-css: Require that
css()
is only spread into a JSX element without aclassName
orstyle
prop