Skip to content

Commit

Permalink
Add general code style super-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Mar 16, 2022
1 parent 0d4dd15 commit c8ebfd7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ To run checkstyle and other maven checks before opening a PR: `./mvnw validate`

In addition to those you should also adhere to the following:

### Readability

The purpose of code style rules is to maintain code readability and developer efficiency when
working with the code. All the code style rules explained below are good guidelines to follow
but there may be exceptional situations where we purposefully depart from them. When readability
and code style rule are at odds, the readability is more important.

### Consistency

Keep code consistent with surrounding code where possible.

### Alphabetize

Alphabetize sections in the documentation source files (both in the table of
Expand Down

0 comments on commit c8ebfd7

Please sign in to comment.