Skip to content

Commit

Permalink
chore(linting): enable selector-pseudo-element-colon-notation rule (#…
Browse files Browse the repository at this point in the history
…9518)

**Related Issue:** N/A

## Summary

Enables
[`selector-pseudo-element-colon-notation`](https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation/)
for consistent pseudoelement syntax (CSS3).
  • Loading branch information
jcfranco committed Jun 7, 2024
1 parent 8b80757 commit 46c57b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/calcite-components/.stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"message": "selector is too complex, consider applying multiple classes dynamically during rendering"
}
],
"selector-pseudo-element-colon-notation": [
"double",
{
"message": "Use double colons for pseudo-elements"
}
],
"selector-type-no-unknown": [
true,
{
Expand Down

0 comments on commit 46c57b4

Please sign in to comment.