Getting started with sass-lint

Why Do We Need it 

  • Clean and consistent code base
  • Increase productivity
  • Reduce code review time
options:
  config-file: ./node_modules/@fiverr/node_config/.sass-lint.yml
files:
  include:
    - 'src/**/*'
rules:
  no-important: 1
  indentation:
    - 2
    -
      size: 4
  

Usage Example

Thank You

Nice resources:

 

Getting started with sass-lint

By Ben Bakhar

Getting started with sass-lint

  • 504