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