[tslint] enable no-default-export rule (#20952)

Just like our ESLint rules, I think we should enforce named exports over default exports via TSLint. No changes to the code were necessary because of this linting rule because everyone is already following the pattern we established with ESLint, but TSLint wasn't actually verifying the pattern.
This commit is contained in:
Spencer 2018-07-18 19:22:19 -07:00 committed by GitHub
parent 274617de59
commit 29d8ec48b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ rules:
no-unused-variable: true
object-literal-sort-keys: false
interface-name: false
no-default-export: true
require-license-header:
- true
- |-