SCSS Code Style
General rules
- Prefer SCSS over Sass.
- Prefer SCSS over CSS.
Linting
-
Use scss-lint for SCSS code linting.
-
In addition to default scss-lint configuration use few customized rules:
linters:
# When stylesheets come from client, it's too much hassle
# to define color variable that will be used once or twice
ColorVariable:
enabled: false
# Easiest way to overwrite styles in external CSS or poorly written libs
ImportantRule:
enabled: false