diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f591403df17f1ff373d33bbf70d1f7edbcacdeed..1c2137a7c8268743a5c7383ec1d6a853297766c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,10 @@ When modifying the C/C++ source files: * Do not call functions from `ctype.h` (e.g. `isprint()`, `isspace()`, `isdigit()`, etc.) - use the `xpdev/gen_defs.h IS_*` macros instead. * Use safe string handling (e.g. xpdev's `SAFECOPY()` instead of `strcpy()`, `SAFEPRINTF()` or `safe_snprintf()` instead of `sprintf()`). +When modifying JavaScript (`.js`) files: +* Specify `"use strict"` when adding new files and write conforming code +* Don't introduce/use 3rd party libraries unnecessarily + ### Branches Only approved and authenticaed "developers" can create new branches in the `main/sbbs`repo. If, as a developer, you are creating a new branch in the `main/sbbs` repository, use the branch naming scheme: `<your-name>/<topic>`, where *your-name* is your abbreviated name, user-name, or alias and *topic* helps to identify the intended purpose of the branch. Branches created in user repositories (e.g. forks of main/sbbs) need not contain the `<your-name>/` prefix. @@ -26,4 +30,4 @@ Only approved and authenticaed "developers" can create new branches in the `main ### Other types of contributions If you were interested in contributing money, not code, then paypal to rob at synchro dot net. -Thank you for contributing! \ No newline at end of file +Thank you for contributing!