eslint-plugin-react-with-styles icon indicating copy to clipboard operation
eslint-plugin-react-with-styles copied to clipboard

ESLint plugin for react-with-styles

eslint-plugin-react-with-styles Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

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 a className or style prop