stylelint.config.js 650 B

123456789101112131415161718192021222324
  1. /* eslint-env node */
  2. module.exports = {
  3. processors: ['stylelint-processor-styled-components'],
  4. extends: [
  5. 'stylelint-config-recommended',
  6. 'stylelint-config-styled-components',
  7. 'stylelint-config-prettier',
  8. ],
  9. rules: {
  10. 'declaration-colon-newline-after': null,
  11. // This is formatting related
  12. 'declaration-bang-space-before': null,
  13. // Doesn't work when we use values from theme
  14. 'unit-no-unknown': null,
  15. 'font-family-no-missing-generic-family-keyword': null,
  16. // Does not seem useful
  17. 'no-descending-specificity': null,
  18. 'property-no-unknown': [true, {ignoreProperties: [/\$dummyValue/]}],
  19. },
  20. };