You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// `isUpdating` is a ComputedRef
function onValidationChanged() {
config.value.steps.forEach((step, index) => {
if (index <= stepIndex.value || isUpdating) {
step.state = validations.value[index]?.$invalid ? 'invalid' : 'valid';
}
});
}
What did you expect to happen? vue/no-ref-as-operand to be trigered on isUpdating
What actually happened?
No error is found. It is found if the order is reversed, though. Below are IDE snapshots for clarity, but this happens when running eslint via CLI on the file too:
Repository to reproduce this issue
Can provide one if requested.
The text was updated successfully, but these errors were encountered:
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
// `isUpdating` is a ComputedRef function onValidationChanged() { config.value.steps.forEach((step, index) => { if (index <= stepIndex.value || isUpdating) { step.state = validations.value[index]?.$invalid ? 'invalid' : 'valid'; } }); }
What did you expect to happen?
vue/no-ref-as-operand
to be trigered onisUpdating
What actually happened?
No error is found. It is found if the order is reversed, though. Below are IDE snapshots for clarity, but this happens when running eslint via CLI on the file too:
Repository to reproduce this issue
Can provide one if requested.
The text was updated successfully, but these errors were encountered: