Skip to content

Commit

Permalink
Allow redundant longhand properties
Browse files Browse the repository at this point in the history
This PR disables `declaration-block-no-redundant-longhand-properties`
which is set in `stylelint-config-standard` because when using custom
properties it can make the shorthand versions unweildy.

Fixes #407
  • Loading branch information
spaceninja committed Feb 5, 2024
1 parent 0dc6951 commit 7972d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Updated `stylelint-config-suitcss` to v21
- Updated `stylelint-config-standard-scss` to v13
- Updated `stylelint` peer dependency to v16
- Disabled `declaration-block-no-redundant-longhand-properties` (#407)

# 9.0.0 - 2023-09-19

Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
'alpha-value-notation': null, // not ready for this syntax yet
'custom-media-pattern': null,
'custom-property-pattern': null,
'declaration-block-no-redundant-longhand-properties': null, // #407
'declaration-empty-line-before': null, // false errors after SCSS comments
'keyframes-name-pattern': null,
'selector-class-pattern': null,
Expand Down

0 comments on commit 7972d10

Please sign in to comment.