Set up tslint-microsoft-contrib

Description

tslint-microsoft-contrib has a number of useful-looking static analysis rules

We should see if we can use recommended_ruleset.js, maybe with exceptions for anything too hard to fix.

Some interesting looking checks:

  • check that import names match the modules being imported

  • long functions

  • ban eval, arguments, etc

  • valid regexes

  • no constant conditions

  • multiline strings (maybe?)

  • no reserved keywords

  • no-unexternalized-strings

  • promise-must-complete

  • various React checks

Also, the fix-no-var-keyword formatter could be handy as a way of converting all {{var}}s to {{let}}s, perhaps as a one off fix.

Assignee

Unassigned

Reporter

Sean Flanigan

Labels

Tested Version/s

None

Priority

unspecified
Configure