Closed
Description
Including
- One variable declaration per variable statement (see Rule to limit variable statements to a single declaration palantir/tslint#525)
- Spaces, not tabs
- No space preceding colons
- Double quotes for strings (though, depending on TSLint's behavior on this, we can be flexible.
- No explicit types for inferrable entities
- use
namespace
instead ofmodule
(see Add no-internal-module rule palantir/tslint#517) -
else
/catch
/etc. on a different line (see Complement to [one-line]? palantir/tslint#88) - Space before
{
in interfaces, classes, enums, any sort of attached statement body, or type annotation. - No trailing whitespace
- Forbid boolean/
undefined
parameters who aren't named. - Forbid
null
Any other suggestions?
Activity