.sass-lint.yml 650 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Linter Options
  2. options:
  3. # Treat warnings as errors
  4. max-warnings: 0
  5. # File Options
  6. files:
  7. include: 'src/sass/**/*.scss'
  8. # Rule Configuration
  9. rules:
  10. force-element-nesting:
  11. - 0
  12. hex-length:
  13. - 2
  14. - style: long
  15. indentation:
  16. - 2
  17. - size: 4
  18. nesting-depth:
  19. - 2
  20. - max-depth: 6
  21. no-color-literals:
  22. - 0 # TODO: Remove this when resolving #9
  23. no-ids:
  24. - 0
  25. no-important:
  26. - 0
  27. no-qualifying-elements:
  28. - 0
  29. property-sort-order:
  30. - 2
  31. - order: concentric
  32. # Auto-Fix Configuration
  33. resolvers:
  34. # Prevent removing comments
  35. no-css-comments: 0
  36. # Prevent removing "!important"
  37. no-important: 0