eslint-plugin-react-with-styles [![Version Badge][npm-version-svg]][package-url]

February 17, 2017 ยท View on GitHub

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