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: add links between rules about whitespace around block curly braces #15625

Merged
merged 1 commit into from Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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)