Last active
July 8, 2020 20:32
-
-
Save kevinmpowell/b28a98eda5ef324a8a16b579f9bd9a1e to your computer and use it in GitHub Desktop.
My stylelint 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
{ | |
"extends": [ | |
"stylelint-config-sass-guidelines", | |
"stylelint-config-prettier" | |
], | |
"rules": { | |
"color-hex-case": "upper", | |
"color-hex-length": "long", | |
"selector-class-pattern": "^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-z0-9]+(?:-[a-z0-9]+)*(?:__[a-z0-9]+(?:-[a-z0-9]+)*)?(?:--[a-z0-9]+(?:-[a-z0-9]+)*)?(?:\\[.+\\])?$", | |
"max-nesting-depth": 2 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment