RingoJS

Coding Standard for the RingoJS Project

This document collects the coding standards that are in use in the Ringo code base. Ultimately, there is one golden rule almost universally applicable to open source projects:

If you are extending, enhancing, or bug fixing already implemented code, use the style that is already being used so that the source is uniform and easy to follow.

(Formulation taken from the LLVM Coding Standards.)

Hard rules (no exceptions!) for contributions:

Contributions will be rejected unless they conform to above rules.

"Softer" rules widely adhered to in the Ringo, but not yet formally prescribed:

In general, the Ringo code more often than not sticks to the "Code Conventions for the JavaScript Programming Language", which serve as a good guideline what to use when in doubt.