Skip to content

Instantly share code, notes, and snippets.

@michchan
Last active October 27, 2020 10:18
Show Gist options
  • Save michchan/7958571d735c2b6b237fdc3a0edccbcb to your computer and use it in GitHub Desktop.
Save michchan/7958571d735c2b6b237fdc3a0edccbcb to your computer and use it in GitHub Desktop.
.stylelintrc file for Styled-Components project
/*
DevDependencies:
stylelint
stylelint-processor-styled-components
stylelint-config-styled-components
stylelint-config-standard
*/
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components"
],
"syntax": "scss",
"rules": {
"value-keyword-case": ["lower", { "ignoreKeywords": ["dummyValue"] }]
},
"ignoreFiles": ["packages/**/*.spec.{js,jsx,ts,tsx}"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment