Skip to content

Commit

Permalink
feat(stylelint-config): exclude mask & mask-image properties for …
Browse files Browse the repository at this point in the history
…`color-named` rule (#696)
  • Loading branch information
nsbarsukov authored Oct 31, 2024
1 parent ffc3c76 commit c1aed3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/stylelint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ module.exports = {
],
'color-hex-alpha': 'never',
'color-hex-length': 'short',
'color-named': 'never',
'color-named': [
'never',
{
ignoreProperties: ['mask', 'mask-image'],
},
],
'color-no-invalid-hex': true,
'comment-no-empty': true,
'comment-whitespace-inside': 'always',
Expand Down

0 comments on commit c1aed3e

Please sign in to comment.