Skip to content

Commit

Permalink
Merge pull request #36 from alphagov/kg-update-pseudo-elements
Browse files Browse the repository at this point in the history
Remove `selector-pseudo-element-colon-notation`
  • Loading branch information
querkmachine authored Jun 29, 2023
2 parents 29a2428 + 5b3456c commit 47677e4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions css-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,6 @@ module.exports = {
// compatibility in older browsers
// https://stylelint.io/user-guide/rules/selector-not-notation/
'selector-not-notation': 'simple',
// Require single colons for defining pseudo-elements
// IE8 and below do not support the modern double colon approach. Although
// few projects support IE8, we'd prefer to not exclude compatibility for
// purely syntactic reasons.
// https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation/
'selector-pseudo-element-colon-notation': 'single',
// Disallow redundant properties in rules (for example: margin: 1px 1px 1px;)
// https://stylelint.io/user-guide/rules/list/shorthand-property-no-redundant-values/
// Originates from: https://github.com/alphagov/govuk-frontend/blob/e248b4027102b2684f592a0501630075bdfa1fab/config/.sass-lint.yml#L436
Expand Down

0 comments on commit 47677e4

Please sign in to comment.