Created
April 16, 2022 23:43
-
-
Save crutch12/f38340d920f007fb267ed2f06c124af4 to your computer and use it in GitHub Desktop.
Stylelint styled-components config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @NOTE: https://github.com/styled-components/stylelint-processor-styled-components/issues/187#issuecomment-396687345 | |
module.exports = { | |
processors: ['stylelint-processor-styled-components'], | |
extends: ['stylelint-config-standard', 'stylelint-config-styled-components'], | |
rules: { | |
indentation: 2, | |
// @NOTE: This conflicts with @use from scss | |
'at-rule-no-unknown': null, | |
'scss/at-rule-no-unknown': true, | |
// @NOTE: This conflicts with styled-components | |
'no-empty-source': null, | |
'no-descending-specificity': null, | |
'value-keyword-case': null, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment