.stylelintrc.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "extends": ["stylelint-config-tailwindcss/scss", "stylelint-config-standard-scss"],
  3. "rules": {
  4. "selector-class-pattern": null,
  5. "custom-property-pattern": null,
  6. "no-descending-specificity": null,
  7. "scss/no-global-function-names": null,
  8. "scss/function-no-unknown": null,
  9. "selector-pseudo-class-no-unknown": [
  10. true,
  11. {
  12. "ignorePseudoClasses": ["global"]
  13. }
  14. ],
  15. "scss/at-rule-no-unknown": [
  16. true,
  17. {
  18. "ignoreAtRules": ["position-try"]
  19. }
  20. ],
  21. "property-no-unknown": [
  22. true,
  23. {
  24. "ignoreProperties": ["position-try-fallbacks", "anchor-name", "position-anchor", "position-visibility"]
  25. }
  26. ],
  27. "function-no-unknown": [
  28. true,
  29. {
  30. "ignoreFunctions": ["anchor-size", "anchor", "map-get", "unquote"]
  31. }
  32. ],
  33. "declaration-block-no-redundant-longhand-properties": [
  34. true,
  35. {
  36. "ignoreShorthands": ["inset"]
  37. }
  38. ],
  39. "comment-empty-line-before": [
  40. "always",
  41. {
  42. "except": ["first-nested"],
  43. "ignore": ["stylelint-commands", "after-comment"]
  44. }
  45. ],
  46. "declaration-empty-line-before": [
  47. "always",
  48. {
  49. "except": ["first-nested", "after-comment", "after-declaration"],
  50. "ignore": ["inside-single-line-block"]
  51. }
  52. ]
  53. }
  54. }