Skip to content

Add packages section and update existing docs for ast-grep #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typos
  • Loading branch information
petrisorcoderabbit committed Mar 22, 2024
commit 62f10dbe8348d3407e0d5896657e6c0d910a2979
4 changes: 2 additions & 2 deletions docs/guides/prompt-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ rule:
> [Utility Rule](https://ast-grep.github.io/guide/rule-config/utility-rule.html)

### Packages
A package is what allows you to share rules across multiple projects. Essentially a package is a collection of ast-grep rules.
A package is what allows you to share rules across multiple projects. Essentially, a package is a collection of ast-grep rules.

Coderabbit provides a set of packages that you can use out of the box. You can also create your own packages and share them with the community or just
use them within your organization.
Expand All @@ -317,7 +317,7 @@ Let's say that you have a public repository that contains ast-grep rules. You ca

Requirements for a package:
- should be a public repository
- contains rules that follows the ast-grep rule format
- contains rules that follow the ast-grep rule format
- package name should be in the format `organization/repository`

```yaml
Expand Down