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
{{ message }}
This repository was archived by the owner on Dec 23, 2019. It is now read-only.
Robert edited this page Sep 19, 2013
·
2 revisions
If you plan to send a pull request to the Starfall repository, please follow these guidelines:
No GLua-specific syntax. eg,
Don't use: !, use: not
Don't use: &&, ||, !=, use these: and, or, ~=
Don't use: //, /* */, use these: --, --
Use tabs, not spaces.
Document your code, LuaDoc style. See the built-in libraries for some examples and some special formats that are supported (particularly with libraries)
Make sure you commit line endings as LF. See this github page for more info.
Use commits wisely. Try to make a commit for each new feature. Don't group tons of features into one commit, which makes cherry picking impossible. More commits are usually better then less.
Use camel case for methods and library functions. Ex. ents.doSomething()