Skip to content

Commit

Permalink
chore: upgrade stylelintconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed May 5, 2024
1 parent 22222c2 commit 75fa88e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ rules:
ignore:
- after-comment
selector-attribute-quotes: always
selector-class-pattern: null # when doing themes, you mostly do not decide on class names
selector-class-pattern:
- ^([a-z][a-z0-9]*)(-[a-z0-9]+)*$
- {}
selector-id-pattern:
- ^([a-z][a-z0-9]*)(-[a-z0-9]+)*$
- {}
Expand All @@ -123,5 +125,6 @@ rules:
color-no-hex: true
declaration-no-important: true
font-weight-notation: numeric
no-unknown-custom-properties: [true, {severity: error}] # equivalent to "no undeclared variables" in other linters
max-nesting-depth: 3
no-unknown-custom-properties: [true, {severity: error}] # equivalent to "no undeclared variables" in other linters
selector-nested-pattern: ["&", {splitList: true, message: "Nested selectors should include a &."}]
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Style Settings tab is opened.
# - bumps version number in css file and manifest
# - updates download counts in badges of the README files
# - copies the stylelint-config for documentation
# - update changelog
# - git add, commit, pull, and push to the remote repo

Expand Down
2 changes: 2 additions & 0 deletions theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 75fa88e

Please sign in to comment.