@code-quality/stylelint-styled-components-config
v1.7.0
Published
The style lint config you have been looking for.
Downloads
97
Maintainers
Readme
StyleLint Styled Components Config
stylelint modern linter that helps you avoid errors and enforce conventions in your styles.
Install
yarn add stylelint prettier @code-quality/stylelint-styled-components-config stylelint-config-prettier -D
Usage
The shareable config can be configured in the stylelint configuration file:
Create a .stylelintrc.js file with the following contents:
module.exports = {
extends: [
'@code-quality/stylelint-styled-components-config',
'stylelint-config-prettier',
],
}