eslint-plugin-styled-component-jsx-attributes

1.0.7 • Public • Published

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

Package Sidebar

Install

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

Weekly Downloads

5

Version

1.0.7

License

ISC

Unpacked Size

30 kB

Total Files

16

Last publish

Collaborators

  • tripptofan