Skip to content

Commit

Permalink
Remove deprecated rule 'max-line-length': null
Browse files Browse the repository at this point in the history
This was a rule deprecated in Stylelint v15 but wasn’t flagged for removal due to the `null` value
  • Loading branch information
colinrotherham committed Jan 8, 2024
1 parent 43eb1a7 commit 17e528f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions css-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ module.exports = {
// https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list/
// Originates from: https://github.com/alphagov/govuk-frontend/blob/e248b4027102b2684f592a0501630075bdfa1fab/config/.sass-lint.yml#L230
'function-url-scheme-allowed-list': ['data'],
// Traditionally GDS linters haven't had line length rules, which means
// this would be inconsistent with JS linting and have a lot of churn
// to apply
// https://stylelint.io/user-guide/rules/max-line-length/
'max-line-length': null,
// Disallow deep nesting, ideally only exceptions (such as .js-enabled) should
// have nesting
// https://stylelint.io/user-guide/rules/max-nesting-depth/
Expand Down

0 comments on commit 17e528f

Please sign in to comment.