Skip to content
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

docs: Packages section header was missing #37

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
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
3 changes: 3 additions & 0 deletions style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Rego policies. If you enjoy this style guide, make sure to check it out!
* [Avoid using the last argument for the return value](#avoid-using-the-last-argument-for-the-return-value)
* [Regex](#regex)
* [Use raw strings for regex patterns](#use-raw-strings-for-regex-patterns)
* [Packages](#packages)
* [Package name should match file location](#package-name-should-match-file-location)
* [Imports](#imports)
* [Prefer importing packages over rules and functions](#prefer-importing-packages-over-rules-and-functions)
Expand Down Expand Up @@ -934,6 +935,8 @@ You can lint for this recommendation using the [`non-raw-regex-pattern`](https:/
Regal rule. Get started with [Regal, the Rego linter](https://docs.styra.com/regal).
:::

## Packages

### Package name should match file location

When naming packages, the package name should reflect the file location. This
Expand Down
Loading