Skip to content

Commit 2306a6b

Browse files
committed
docs: add 18 ESLint-style rule example pages (#90)
* docs: remove hardcoded versions and counts, point to source files CLAUDE.md: replace command table, ADR list, and pinned versions with references to src/commands/, .archgate/adrs/, and .prototools. README.md: remove commands table and CI section, defer to docs site. Homepage (en + pt-br): replace "Six ADRs" with open-ended text and link to the ADRs directory on GitHub. * docs: add 18 individual ESLint-style rule example pages Restructure the rule examples documentation: - Split inline examples out of writing-rules.mdx into dedicated pages - Convert common-rule-patterns.mdx into a categorized index page - Add 18 individual rule pages (EN + PT-BR = 36 files) covering: dependency management, import restrictions, file structure, code quality, database schema, and architecture boundaries - Each page follows ESLint-style format: rule details, incorrect/correct code examples, full .rules.ts implementation, when to use/not use - Use Starlight autogenerate for the Examples sidebar section - Real-world examples sourced from archgate, money-sync, and stavanger-challenge repositories * docs: regenerate llms-full.txt
1 parent a8e6753 commit 2306a6b

42 files changed

Lines changed: 5220 additions & 1266 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/astro.config.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,8 @@ export default defineConfig({
227227
},
228228
{
229229
label: "Examples",
230-
items: [
231-
{
232-
label: "Common Rule Patterns",
233-
slug: "examples/common-rule-patterns",
234-
},
235-
],
230+
collapsed: true,
231+
autogenerate: { directory: "examples" },
236232
},
237233
],
238234
}),

0 commit comments

Comments
 (0)