Rules with the same names are expanded and collapsed not one at a time, but all at once.
IKatsuba opened this issue · 1 comments
IKatsuba commented
I created the hasFile
check.
const hasFile = defineCheck((file: string) => {
return {
name: 'hasFile',
message: `Missing ${file}`,
validate: (ctx) => text(ctx.package.path, file).exists(),
level: 'error',
};
});
And use it several times. When I click on check detail, all checks with the same names expand or collapse.
alec-chernicki commented
Thanks for the issue! While fixing this issue, I noticed a couple other bugs and have added test coverage to these components. Should be fixed in #207 and is in the latest version of `commonality.