2
0

.stylelintrc 517 B

12345678910111213141516
  1. {
  2. "extends": ["stylelint-config-standard"],
  3. "rules": {
  4. "declaration-block-no-redundant-longhand-properties": [
  5. true,
  6. { "ignoreShorthands": ["gap", "inset"] }
  7. ],
  8. "no-descending-specificity": null,
  9. "media-feature-range-notation": null,
  10. "custom-property-pattern": "^([a-z][a-z0-9]*)(-{1,2}[a-z0-9]+)*$",
  11. "selector-class-pattern": [
  12. "^[a-z]+[0-9]{0,2}(-[a-z0-9]+)*(__[a-z0-9]+(-[a-z0-9]+)*)?(--[a-z0-9]+(-[a-z0-9]+)*)?$",
  13. { "resolveNestedSelectors": true }
  14. ]
  15. }
  16. }