Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.44 KB

CONTRIBUTING.md

File metadata and controls

47 lines (42 loc) · 1.44 KB

727-200 Contributing Guidelines

These examples will show the 727-200 Guidelines for contributing. Please follow this at all times, or your contribution will not be merged.

Basic Guidelines:

  • Use Tabs to indent code, DO NOT USE SPACE.
  • Use lowerCamelCase or underscores for naming Nasal variables/functions (someFunction, some_function).
  • Comments optional for XML, mandatory for Nasal.
  • Do not add a comment to every line, only to functions/groups of code.
  • Remove .bak or .blend files, unless absolutely needed.
  • Leave one extra line at the bottom of each file.

Formatting Guidelines:

Indenting and Line Breaks:

<!-- XML -->
<something>
	<something-else>0</something-else>
	<something-more>
		<more-stuff></more-stuff>
	</something-more>
</something>
# Nasal
var something = func {
	somethingElse();
}

Brackets, Spaces, Commas, Semi-Colons, and Parentheses:

var something = 0;
var someOtherThing = func {
	if (something == 1) {
		something = 0;
	} else {
		something = 1;
	}
	settimer(func {
		setprop("/something", something);
	}, 5);
}

Forks, Branches, and Merging

I do not add contributors, so please fork the repository, and commit your changes there. Branches are optional. When you are ready for me to look over you work, submit a pull request, following our pull request template, and an I will look over it. If there is an issue that needs to be resolved before merging, the I will leave a comment on the pull request.