Skip to content

Commit

Permalink
Allow !default annotations (#55)
Browse files Browse the repository at this point in the history
In addition to being valid SCSS, we often use `!default` in places like
`variables.scss`.

stylelint-scss/stylelint-config-recommended-scss#131
stylelint-scss/stylelint-config-recommended-scss#132
  • Loading branch information
nickcharlton committed Feb 2, 2024
1 parent f94b86e commit fb14d2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ module.exports = {
'stylelint-order',
],
rules: {
'annotation-no-unknown': [
true,
{
ignoreAnnotations: ['default', 'global'],
},
],
'at-rule-no-unknown': null,
'color-hex-length': 'long',
'color-named': 'never',
Expand Down

0 comments on commit fb14d2c

Please sign in to comment.