Skip to content

Commit

Permalink
fix: ignore custom properties for length-zero-no-unit rule (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
egorprnn authored Nov 22, 2023
1 parent 62ca050 commit be4a804
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ module.exports = {
'no-duplicate-selectors': true,
'color-named': 'never',
'function-url-scheme-disallowed-list': ['/^data:/'],
'length-zero-no-unit': true,
'length-zero-no-unit': [true, {
ignore: ['custom-properties'],
}],
'property-disallowed-list': [/^\./, 'letter-spacing'],
'selector-pseudo-class-disallowed-list': ['root'],
'declaration-block-semicolon-newline-after': 'always',
Expand Down

0 comments on commit be4a804

Please sign in to comment.