.stylelintrc 378 B

1234567891011
  1. {
  2. "extends": ["stylelint-config-standard", "stylelint-config-prettier"],
  3. "rules": {
  4. "no-descending-specificity": null,
  5. "custom-property-pattern": "^([a-z][a-z0-9]*)(-{1,2}[a-z0-9]+)*$",
  6. "selector-class-pattern": [
  7. "^[a-z]+[0-9]{0,2}(-[a-z0-9]+)*(__[a-z0-9]+(-[a-z0-9]+)*)?(--[a-z0-9]+(-[a-z0-9]+)*)?$",
  8. { "resolveNestedSelectors": true }
  9. ]
  10. }
  11. }