Add eslint workflow action and CONTRIBUTING.md that says to lint first #66

Merged
thepaperpilot merged 6 commits from thepaperpilot/Profectus:feat/enforce-eslint into main 2024-03-06 04:45:20 +00:00
Showing only changes of commit f7a8fbbb11 - Show all commits

View file

@ -346,11 +346,11 @@ export const branchedResetPropagation = function (
const next: GenericTreeNode[] = [];
for (const node of current) {
for (const link of links.filter(link => link.startNode === node)) {
if ([...reset, ...current].includes(link.endNode)) continue
if ([...reset, ...current].includes(link.endNode)) continue;
next.push(link.endNode);
link.endNode.reset?.reset();
}
};
}
reset.push(...current);
current = next;
}