.stylelintrc.js 576 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. extends: '@wagtail/stylelint-config-wagtail',
  3. rules: {
  4. 'scss/at-rule-no-unknown': [
  5. true,
  6. {
  7. ignoreAtRules: [
  8. 'tailwind',
  9. 'apply',
  10. 'variants',
  11. 'responsive',
  12. 'screen',
  13. 'layer',
  14. ],
  15. },
  16. ],
  17. 'no-invalid-position-at-import-rule': [
  18. true,
  19. {
  20. ignoreAtRules: ['tailwind', 'use'],
  21. },
  22. ],
  23. // Would be valuable for strict BEM components but is too hard to enforce with legacy code.
  24. 'no-descending-specificity': null,
  25. },
  26. };