From a637bd4492388c11882ec91b55c13724f1446fa5 Mon Sep 17 00:00:00 2001 From: Charlie Egan Date: Thu, 29 Aug 2024 11:16:01 +0100 Subject: [PATCH] docs: Packages section header was missing This has been added now Signed-off-by: Charlie Egan --- style-guide.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/style-guide.md b/style-guide.md index d56d6e6..c1879bb 100644 --- a/style-guide.md +++ b/style-guide.md @@ -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) @@ -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