JSPM

eslint-plugin-styled-component-jsx-attributes

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 12
    • Score
      100M100P100Q60348F
    • License ISC

    Package Exports

      This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-styled-component-jsx-attributes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      Eslint Plugin Styled Component JSX Attributes

      A simple plugin for enforcing the use of the id attribute on styled components.



      Installation

      Install as a dev dependency:

      yarn add -D eslint-plugin-styled-component-jsx-attributes

      or

      npm i --save-dev eslint-plugin-styled-component-jsx-attributes

      Configuration

      Add styled-component-jsx-attributes to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

      {
        "plugins": ["styled-component-jsx-attributes"]
      }