Skip to content

Commit d393c8f

Browse files
author
avazhov
committed
Add readme
1 parent 1d8fdcb commit d393c8f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# eslint-plugin-styled-component
2+
Optimization of imports for style files specified via **.styled postfix
3+
4+
## Installation
5+
6+
```sh
7+
npm install eslint-plugin-styled-component-import --save-dev
8+
```
9+
10+
## Usage
11+
12+
```json
13+
{
14+
"plugins": [
15+
"styled-component-import"
16+
]
17+
}
18+
```
19+
20+
You can add rules:
21+
22+
```json
23+
{
24+
"rules": {
25+
"styled-component-import/non-correct-import": 2
26+
}
27+
}
28+
```

0 commit comments

Comments
 (0)