persona-community-5/.pnpm-store/v3/files/e5/1e2cd3a8dad2e1550eecef39f7e01d934681938bfb6321f12140430b01faf3ed0d1958a0070119b334f4a0001cb245c269547b4416979869431e8bd3109936
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
529 B
Plaintext

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