Skip to content

Commit

Permalink
[tslint] enable no-default-export rule (#20952)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Spencer authored Jul 19, 2018
1 parent 274617d commit 29d8ec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- |-
Expand Down

0 comments on commit 29d8ec4

Please sign in to comment.