MCPcopy Index your code
hub / github.com/PatrickJS/awesome-cursorrules / validReadme

Function validReadme

scripts/check-awesome-list.test.mjs:28–43  ·  view source on GitHub ↗
(entry = `- [Rule](${githubRulesPrefix()}example.mdc) - Example rule content.\n`)

Source from the content-addressed store, hash-verified

26}
27
28function validReadme(entry = `- [Rule](${githubRulesPrefix()}example.mdc) - Example rule content.\n`) {
29 return `# Awesome Cursor Rules [![Awesome](https://awesome.re/badge-flat.svg)](https://awesome.re)
30
31Project-specific configuration files for Cursor AI.
32
33## Contents
34
35- [Rules](#rules)
36 - [Frontend Frameworks and Libraries](#frontend-frameworks-and-libraries)
37
38## Rules
39
40### Frontend Frameworks and Libraries
41
42${entry}`;
43}
44
45test("passes an Awesome-ready README shape", () => {
46 const root = makeFixture();

Callers 1

Calls 1

githubRulesPrefixFunction · 0.90

Tested by

no test coverage detected