Skip to content

Commit

Permalink
docs: Packages section header was missing (#37)
Browse files Browse the repository at this point in the history
This has been added now

Signed-off-by: Charlie Egan <[email protected]>
  • Loading branch information
charlieegan3 authored Aug 29, 2024
1 parent a6cc15c commit b6e7b3d
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit b6e7b3d

Please sign in to comment.