Skip to content

Commit

Permalink
Simplify rationale in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ntdb committed Oct 1, 2016
1 parent 3ec2248 commit 27836ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/rules/no-named-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

Reports use of a default export as a locally named import.

Rationale: the syntax exists to import default exports expressively, let's use it

- *misleading*: consistent syntax usage is less likely to confuse new developers
- *a mistake*: meant to import a named export and unintentionally specified `default`
Rationale: the syntax exists to import default exports expressively, let's use it.

## Rule Details

Expand Down

0 comments on commit 27836ba

Please sign in to comment.