Skip to content

Commit

Permalink
fix: invalid theme function error that stylelint needs to know about
Browse files Browse the repository at this point in the history
```
resources/scss/components/_global-buttons.scss
  54:62  ✖  Unexpected unknown function "theme"  function-no-unknown
  72:62  ✖  Unexpected unknown function "theme"  function-no-unknown
```
  • Loading branch information
chrispelzer committed Oct 8, 2024
1 parent 1f858b2 commit ee51be1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
]
}],
"no-invalid-double-slash-comments": null,
"selector-class-pattern": null
"selector-class-pattern": null,
"function-no-unknown": [ true, {
"ignoreFunctions": [
"theme"
]
}]
}
}

0 comments on commit ee51be1

Please sign in to comment.