You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,3 +29,20 @@ Add a folder with a unique name to `test/tests`.
29
29
Copy the `Main.hx`, `Test.hxml`, and `.gitignore` from `test/tests/HelloWorld` to get started.
30
30
31
31
Once you've completed your test, run `haxe Test.hxml test=YourTestFolderName update-intended` to generate the `intended` folder containing the desired output for your test. Run without `update-intended` to compare the outputs.
32
+
33
+
## Style Guide
34
+
35
+
### Variable Names
36
+
37
+
Variable names should be:
38
+
* Long and descriptive!
39
+
* Please no one character variable names (outside of `for(i in ...)`)!
40
+
* If a variable is of type `Null<T>`, its name must start with "maybe"!
41
+
42
+
### Imports
43
+
44
+
There should be an empty line between `import` and `using` imports with `using`s coming second. Within each second, the imports should be in alphabetical order and additionally separated into sections ordered as followed:
0 commit comments