eslint-plugin-repo
eslint-plugin-repo helps repositories enforce provider-specific governance and hygiene files.
:::tip What should I read first?
- New user? Start with Getting Started.
- Evaluating coverage? Jump to Rule Overview.
- Maintaining the plugin or docs app? Open the Developer Guide.
:::
What this documentation includesâ
- A complete rule reference for repository-file and provider compliance checks.
- Getting Started guidance for Flat Config projects.
- Preset docs for GitHub, GitLab, Bitbucket, Codeberg/Forgejo, AWS, Azure, Google Cloud, Docker, Vercel, Netlify, and DigitalOcean.
- A dedicated developer section with architecture notes, ADRs, and docs pipeline guidance.
What to read firstâ
- Open Getting Started to install the plugin and enable your first preset.
- Review Rule Overview to understand rule categories and naming.
- Visit the Developer Guide if you are maintaining rules, docs, or release workflows.
Choose your routeâ
I want to lint one repository host wellâ
- Start with recommended.
- Add the provider preset your repository actually uses, such as GitHub, GitLab, Bitbucket, Codeberg / Forgejo, AWS, Azure, Google Cloud, Docker, Vercel, Netlify, or DigitalOcean.
- Use strict only after the baseline is stable.
I want to understand the rule catalogâ
- Browse the Rules overview.
- Use the provider categories in the rules sidebar to narrow the list quickly.
- Read preset pages before enabling large groups of rules blindly.
I maintain the plugin or docsâ
- Open the Developer Guide.
- Review the docs and API pipeline chart.
- Use the API guide when changing plugin exports or TypeDoc output.
Documentation mapâ
- Rule docs (
/docs/rules/**): End-user reference and preset usage. - Site docs (
/docs/**): Developer-facing architecture, lifecycle docs, and operational guides. - Blog (
/blog/**): Maintainer commentary and migration stories.
Quick linksâ
| Goal | Best starting point |
|---|---|
| Install the plugin | Getting Started |
| Compare preset scope | https://nick2bad4u.github.io/eslint-plugin-repo/docs/rules/presets |
| Read provider-specific rules | https://nick2bad4u.github.io/eslint-plugin-repo/docs/rules/overview |
| Understand docs generation | Developer Guide |
Next stepâ
Open the Getting Started page in the sidebar and enable your first preset.