Optimization of imports for style files specified via **.styled postfix
npm install eslint-plugin-styled-component-import --save-dev
{
"plugins": [
"styled-component-import"
]
}
You can add rules:
{
"rules": {
"styled-component-import/non-correct-import": 2
}
}