Describe the bug
The sort-objects rule misses dependencies when a default value uses an identifier declared deeper inside another destructuring branch. It treats the order as valid even though one property depends on another.
Code example
let {
a = nested,
b: { nested } = { nested: 'default' },
} = obj;
Expected: dependency error forcing b before a. Actual: passes with no error and no fix suggested.
ESLint version
v9.39.1
ESLint Plugin Perfectionist version
next
Additional comments
No response
Validations