Skip to content

Commit

Permalink
coding_style: Document recommended editor settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Sep 6, 2024
1 parent 6ddca42 commit c25facf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _development/coding_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ by Greg Kroah-Hartman
The basics
----------

### Editor Settings

Configure your editor of choice to:
* Insert spaces instead of Tabs
* When `Tab` is pressed
* When performing automatic indentation.
* Remove trailing whitespace from lines.
* Remove extra new lines from the end of the file.
* Insert a new line at the end of the file if there is not one.
* Maximum line length to 120 characters

### Indentation

Use 4 white spaces. No tabs, no 8 white spaces, no funny things. Fix your editor's configuration,
Expand Down

0 comments on commit c25facf

Please sign in to comment.