Tutorial by Examples

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, "quotema...
This tslint.json example contains a set of configuration to enforce more typings, catch common errors or otherwise confusing constructs that are prone to producing bugs and following more the Coding Guidelines for TypeScript Contributors. To enforce this rules, include tslint in your build process ...
tslint can extend an existing rule set and is shipped with the defaults tslint:recommended and tslint:latest. tslint:recommended is a stable, somewhat opinionated set of rules which we encourage for general TypeScript programming. This configuration follows semver, so it will not have breaking ch...
To install tslint run command npm install -g tslint Tslint is configured via file tslint.json. To initialize default configuration run command tslint --init To check file for possible errors in file run command tslint filename.ts
tslint-microsoft-contrib tslint-eslint-rules codelyzer Yeoman genearator supports all these presets and can be extends also: generator-tslint

Page 1 of 1