TypeScript Basic tslint.json setup


Example

This is a basic tslint.json setup which

  • prevents use of any
  • requires curly braces for if/else/for/do/while statements
  • requires double quotes (") to be used for strings
{
    "rules": {
        "no-any": true,
        "curly": true,
        "quotemark": [true, "double"]
    }
}