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 Feb 12, 2017
1 parent ab6923d commit 8fe720e
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 8fe720e

Please sign in to comment.