Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Getting on the same page

Lint your code Sass as you go with scss-lint:

https://atom.io/packages/linter-scss-lint

https://packagecontrol.io/packages/SublimeLinter-contrib-scss-lint

 

We will one day implement https://github.com/brigade/scss-lint in Kalastatic.

...

Currently we are using underscores on file names... and following a BEM like syntax: link__icon_clean. See Resources section for more in depth explanation of BEM.

 

Resources

https://m.alphasights.com/how-we-use-bem-to-modularise-our-css-82a0c39463b0

https://www.smashingmagazine.com/2016/06/battling-bem-extended-edition-common-problems-and-how-to-avoid-them/