Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: add links between rules about whitespace around block curly bra…
…ces (#15625)
  • Loading branch information
mdjermanovic committed Feb 21, 2022
1 parent ebc0460 commit b93af98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/rules/block-spacing.md
Expand Up @@ -75,3 +75,8 @@ class C {
## When Not To Use It

If you don't want to be notified about spacing style inside of blocks, you can safely disable this rule.

## Related Rules

* [space-before-blocks](space-before-blocks.md)
* [brace-style](brace-style.md)
5 changes: 5 additions & 0 deletions docs/rules/brace-style.md
Expand Up @@ -386,6 +386,11 @@ class D { static { foo(); } }

If you don't want to enforce a particular brace style, don't enable this rule.

## Related Rules

* [block-spacing](block-spacing.md)
* [space-before-blocks](space-before-blocks.md)

## Further Reading

* [Indent style](https://en.wikipedia.org/wiki/Indent_style)
1 change: 1 addition & 0 deletions docs/rules/space-before-blocks.md
Expand Up @@ -217,4 +217,5 @@ You can turn this rule off if you are not concerned with the consistency of spac
* [keyword-spacing](keyword-spacing.md)
* [arrow-spacing](arrow-spacing.md)
* [switch-colon-spacing](switch-colon-spacing.md)
* [block-spacing](block-spacing.md)
* [brace-style](brace-style.md)

0 comments on commit b93af98

Please sign in to comment.