persona-community-5/.pnpm-store/v3/files/6f/292d66a40fd76b6c4f345745ba56050af9a646e2d8e4c4c7ecc93c58b6b0283682776a2864fe72a9d6aa0bf507bef765edd2122adf1a7799e7c1a016e3e885
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

17 lines
537 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoChannelTrailingSlash = void 0;
const NoChannelTrailingSlash = () => {
return {
Channel(_channel, { report, key, location }) {
if (key.endsWith('/') && key !== '/') {
report({
message: `\`${key}\` should not have a trailing slash.`,
location: location.key(),
});
}
},
};
};
exports.NoChannelTrailingSlash = NoChannelTrailingSlash;