Skip to content

Commit

Permalink
fix: incorrect function-no-unknown config for scss (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Mar 21, 2022
1 parent 9d7b06a commit ab20b23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-bugs-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@1stg/stylelint-config": patch
---

fix: incorrect function-no-unknown config for scss
2 changes: 2 additions & 0 deletions packages/stylelint-config/scss/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
plugins: ['stylelint-scss'],
rules: {
'at-rule-no-unknown': null,
'function-no-unknown': null,
'scss/at-each-key-value-single-line': true,
'scss/at-import-no-partial-leading-underscore': true,
'scss/at-import-partial-extension-blacklist': ['sass', 'scss'],
Expand All @@ -23,6 +24,7 @@ module.exports = {
},
],
'scss/declaration-nested-properties-no-divided-groups': true,
'scss/function-no-unknown': true,
'scss/media-feature-value-dollar-variable': 'always',
'scss/no-duplicate-dollar-variables': [
true,
Expand Down

0 comments on commit ab20b23

Please sign in to comment.