Skip to content

Commit

Permalink
fix: sort (#318)
Browse files Browse the repository at this point in the history
Co-authored-by: nikkeyl <[email protected]>
  • Loading branch information
github-actions[bot] and nikkeyl authored Jan 14, 2025
1 parent c58315e commit d1c4bc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.6.0",
"@archoleat/reglib": "^1.7.0",
"prettier": "^3.4.2",
"stylelint": "^16.13.2",
"stylelint-config-standard-scss": "^14.0.0",
Expand Down
8 changes: 4 additions & 4 deletions src/config/properties/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import {
CLASS_CHILD_REGEX,
CLASS_REGEX,
CLASS_SIBLING_REGEX,
ELEMENT_REGEX,
MODIFIER_REGEX,
NESTED_ATTRIBUTE_CHILD_REGEX,
NESTED_ATTRIBUTE_REGEX,
NESTED_ATTRIBUTE_SIBLING_REGEX,
NESTED_CLASS_CHILD_REGEX,
NESTED_CLASS_REGEX,
NESTED_CLASS_SIBLING_REGEX,
NESTED_ELEMENT_REGEX,
NESTED_MODIFIER_REGEX,
SIBLING_REGEX,
} from '@archoleat/reglib';

Expand Down Expand Up @@ -220,10 +220,10 @@ const propertiesOrder = {
selector: new RegExp(`^${NESTED_CLASS_CHILD_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^${MODIFIER_REGEX}$`),
selector: new RegExp(`^${NESTED_MODIFIER_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^${ELEMENT_REGEX}$`),
selector: new RegExp(`^${NESTED_ELEMENT_REGEX}$`),
}),
await createRule({
selector: new RegExp(`^${ATTRIBUTE_REGEX}$`),
Expand Down

0 comments on commit d1c4bc2

Please sign in to comment.