Skip to content

vvozvv/eslint-plugin-styled-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-styled-component

Optimization of imports for style files specified via **.styled postfix

Installation

npm install eslint-plugin-styled-component-import --save-dev

Usage

{
  "plugins": [
    "styled-component-import"
  ]
}

You can add rules:

{
  "rules": {
    "styled-component-import/non-correct-import": 2
  }
}