Skip to content

Commit

Permalink
WIP stop use of hsl and hsla
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Aug 6, 2020
1 parent 070957e commit 2fc97e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ignoreFiles: src/govuk/vendor/**/*
plugins:
- stylelint-order
rules:
# Stop use of hsl() and hsla()
# Orignates from https://github.com/alphagov/govuk-frontend/blob/2f73bd6d639db10c61d3b0da6f79f08150a4e530/config/.sass-lint.yml#L153
function-disallowed-list: ["hsl", "hsla"]

# Require all class selectors to be in a hyphenated BEM format and limit the BEM depth to 0
# https://stylelint.io/user-guide/rules/selector-class-pattern
# Originates from: https://github.com/alphagov/govuk-frontend/blob/e248b4027102b2684f592a0501630075bdfa1fab/config/.sass-lint.yml#L39
Expand Down

0 comments on commit 2fc97e2

Please sign in to comment.