Skip to content

JavaScript and TypeScript conventions

Practices

Where applicable, follow the Java guidelines.

Always use strict mode, and generally use ===, not ==. Use forof instead of forin.

Formatting

Prettier will handle almost all formatting. Just set the max line length to 120.