Skip to content

Commit

Permalink
Merge pull request #84 from coreruleset/chain_rule_comments
Browse files Browse the repository at this point in the history
Add chain rule commenting guidance
  • Loading branch information
RedXanadu authored Apr 17, 2023
2 parents 76c7eed + 2af142e commit 7207c2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/development/contribution_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ chapter: false
* Files must end with a single newline character.
* No trailing whitespace at EOL.
* No trailing blank lines at EOF (only the required single EOF newline character is allowed).
* Add comments where possible and clearly explain any new rules.
* Adhere to an 80 character line length limit where possible.
* Add comments where possible and clearly explain any new rules.
* Comments must not appear between chained rules and should instead be placed before the start of a rule chain.
* All [chained rules](https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual(v2.x)#chain) should be indented like so, for readability:
```
SecRule .. .. \
Expand Down

0 comments on commit 7207c2d

Please sign in to comment.