2.1.0 • Published 6 months ago

eslint-plugin-styled-components-css v2.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

eslint-plugin-styled-components-css

ESlint rules for styled components css formatting

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-styled-components-css:

npm install eslint-plugin-styled-components-css --save-dev

Usage

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

{
  "plugins": ["styled-components-css"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "styled-components-css/rule-name": 2
  }
}

Rules

Name       Description🔧
no-commentsStyled Component should not have comments in their css🔧
sortStyled Component's css declarations should be sorted🔧
2.1.0

6 months ago

2.0.2

1 year ago

1.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago