This repository was archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 682
JavaScript Style
Peter Hallam edited this page May 25, 2016
·
3 revisions
We try and enforce most of our style rules with eslint. Here's a list of style rules which are not currently enforced automatically.
class List<T> {
_values: Array<T>;
constructor() {
this._values = [];
}
}
This:
if (x == null) { ... }
Not:
if (!x) { ... }
TODO: Add more rules here ...