https://github.com/Microsoft/TypeScript
Raw File
Tip revision: f96a9127e28d80ddb06f13212daf117eb4df6f7d authored by Ron Buckton on 12 January 2017, 22:08:08 UTC
Adds new 'promised' type operator
Tip revision: f96a912
tslint.json
{
    "rules": {
        "class-name": true,
        "comment-format": [true,
            "check-space"
        ],
        "indent": [true,
            "spaces"
        ],
        "linebreak-style": [true, "CRLF"],
        "one-line": [true,
            "check-open-brace",
            "check-whitespace"
        ],
        "no-var-keyword": true,
        "quotemark": [true,
            "double",
            "avoid-escape"
        ],
        "semicolon": [true, "ignore-bound-class-methods"],
        "whitespace": [true,
            "check-branch",
            "check-decl",
            "check-operator",
            "check-module",
            "check-separator",
            "check-type"
        ],
        "typedef-whitespace": [true, {
            "call-signature": "nospace",
            "index-signature": "nospace",
            "parameter": "nospace",
            "property-declaration": "nospace",
            "variable-declaration": "nospace"
        }],
        "next-line": [true,
            "check-catch",
            "check-else"
        ],
        "no-internal-module": true,
        "no-trailing-whitespace": true,
        "no-inferrable-types": true,
        "no-null-keyword": true,
        "boolean-trivia": true,
        "type-operator-spacing": true,
        "prefer-const": true,
        "no-increment-decrement": true,
        "object-literal-surrounding-space": true,
        "no-type-assertion-whitespace": true
  }
}
back to top