.stylelintrc.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "extends": [
  3. "stylelint-config-twbs-bootstrap"
  4. ],
  5. "reportInvalidScopeDisables": true,
  6. "reportNeedlessDisables": true,
  7. "overrides": [
  8. {
  9. "files": ["**/*.scss"],
  10. "rules": {
  11. "declaration-no-important": null,
  12. "declaration-property-value-disallowed-list": {
  13. "border": "none",
  14. "outline": "none"
  15. },
  16. "function-disallowed-list": [
  17. "calc",
  18. "lighten",
  19. "darken"
  20. ],
  21. "keyframes-name-pattern": null,
  22. "property-disallowed-list": [
  23. "border-radius",
  24. "border-top-left-radius",
  25. "border-top-right-radius",
  26. "border-bottom-right-radius",
  27. "border-bottom-left-radius",
  28. "transition"
  29. ],
  30. "scss/dollar-variable-default": [
  31. true,
  32. {
  33. "ignore": "local"
  34. }
  35. ],
  36. "scss/selector-no-union-class-name": true,
  37. "selector-max-class": null,
  38. "selector-max-combinators": null,
  39. "selector-max-compound-selectors": null,
  40. "selector-max-id": null,
  41. "selector-max-specificity": null,
  42. "selector-max-type": null,
  43. "selector-no-qualifying-type": null
  44. }
  45. }
  46. ]
  47. }