CSS Coding GuidelinesΒΆ
We use stylelint for checking the quality, linting, and ensuring consistent CSS code standards. There is a .stylelintrc
file and a postcss-sorting.json
file in the root of the project, and your editor probably has a plugin available which will show you when you violate these standards.
We employ a set of standards loosely based on the following widely used CSS Guidelines
Note
Our editors of choice are PhpStorm & ATOM which provide useful plugins to make use of these tools. Check out the Editor Setup section of the docs for more information