persona-community-5/.pnpm-store/v3/files/a1/781f73c2b675ad79d9173bf2b022da48bdbac7bc69a706fca8e2b80e5ba39d68b99333b6c2fef3ffeec038ac7c7505ee59f891e32cbd962c77d2db75bb06a7
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

18 lines
484 B
Plaintext

import type { Arazzo1Rule } from '../../visitors';
import type { UserContext } from '../../walk';
export const SourceDescriptionsNotEmpty: Arazzo1Rule = () => {
return {
SourceDescriptions: {
enter(sourceDescriptions, { report, location }: UserContext) {
if (!sourceDescriptions?.length) {
report({
message: 'The `sourceDescriptions` list must have at least one entry.',
location,
});
}
},
},
};
};