Skip to content

Commit

Permalink
refactor: properties
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Jan 14, 2025
1 parent d703366 commit 786c978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"stylelint": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@archoleat/reglib": "^1.5.2",
"@archoleat/reglib": "^1.5.3",
"prettier": "^3.4.2",
"stylelint": "^16.13.2",
"stylelint-config-standard-scss": "^14.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/config/properties/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ const propertiesOrder = {
selector: new RegExp(`^${selectors.NESTED_CLASS_CHILD_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^&${selectors.MODIFIER_REGEX}.+$`),
selector: new RegExp(`^${selectors.MODIFIER_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^&${selectors.ELEMENT_REGEX}.+$`),
selector: new RegExp(`^${selectors.ELEMENT_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^${selectors.ATTRIBUTE_REGEX}$`),
Expand Down

0 comments on commit 786c978

Please sign in to comment.