mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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:
parent
274617de59
commit
29d8ec48b2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
- |-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue