canmove, Confirmed users
1,126
edits
mNo edit summary |
(Update license header link to https://www.mozilla.org/MPL/headers/) |
||
| Line 12: | Line 12: | ||
= Common/General = | = Common/General = | ||
* No vim/emacs modelines in any file | * No vim/emacs modelines in any file | ||
* Use the license boilerplate from | * Use the license boilerplate from https://www.mozilla.org/MPL/headers/ | ||
* Avoid duplicate code: Use existing utility functions (example: base/src/calUtils.js) if possible | * Avoid duplicate code: Use existing utility functions (example: base/src/calUtils.js) if possible | ||
* Create your own utility functions if code is being used more than once. If you cannot find a utility file to place your function in, create your own. Do so sparingly. | * Create your own utility functions if code is being used more than once. If you cannot find a utility file to place your function in, create your own. Do so sparingly. | ||