-
Notifications
You must be signed in to change notification settings - Fork 50
Contribution Guidelines
Wilson edited this page Feb 1, 2017
·
13 revisions
In an attempt to keep the project readable for the majority of contributors, here are some guidelines to follow:
- Avoid the use of LINQ wherever possible excepting small things like:
- public string Name => "KUP";
- If you must use LINQ, write it using method syntax only; Breaking it into multiple lines to improve readability.
- Avoid the use of anonymous types wherever possible.
- Avoid the use of yield. T_T
- Visual Studio 2015 Settings
- Tools > Options > Text Editor > All Languages > Tabs is set to Keep Tabs and display them as 3 or 4 Spaces.
- Tools > Options > Text Editor > C# > Advanced > Place 'System' directives first when sorting usings is checked.
- To avoid mixing tabs and spaces I also have the following extension installed: Productivity Power Tools
Likely more to come as contributions increase.