Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Recommend Stylelint to lint Sass files #202

Merged
merged 1 commit into from
Oct 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion coding/stylesheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ developer working with JavaScript, leave these well alone.
The idea is that -- in order to properly separate our concerns, we
should never have styling and behaviour bound to the same classes.

# Code Formatting
## Code Formatting

To ensure consistency across our codebase, we use [Prettier](https://github.com/prettier/prettier) for formatting Sass.

## Stylesheet Linting

To ensure conformity and correctness in Sass files across our codebase, we use [Stylelint](https://stylelint.io/) to lint our Sass files. We use the [stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) shared configuration as it plays nicely with Prettier.