Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to TSLint 4 #1654

Closed
ariya opened this issue Dec 4, 2016 · 0 comments
Closed

Upgrade to TSLint 4 #1654

ariya opened this issue Dec 4, 2016 · 0 comments
Assignees
Labels

Comments

@ariya
Copy link
Contributor

ariya commented Dec 4, 2016

TSLint 4 is the latest version, it's a major upgrade. Using it on our code base enforces a few certain code patterns:

  • Prefer arrow function expressions
  • Drop semicolon after every class method
  • Sort grouped import sources
  • Mandate default case in a switch statement
  • Avoid variable name resembling a type (e.g. number)
@ariya ariya added the meta label Dec 4, 2016
@ariya ariya self-assigned this Dec 4, 2016
@ariya ariya closed this as completed in df87bf0 Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant