JSPM

eslint-plugin-styled-component-jsx-attributes

1.0.5
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 13
    • Score
      100M100P100Q60311F
    • License ISC

    Package Exports

    • eslint-plugin-styled-component-jsx-attributes
    • eslint-plugin-styled-component-jsx-attributes/lib/index.js

    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"]
    }