Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

refactor: avoid default exports #2047

Merged
merged 3 commits into from
Jun 8, 2020
Merged

refactor: avoid default exports #2047

merged 3 commits into from
Jun 8, 2020

Conversation

faustbrian
Copy link
Contributor

As previously mentioned it should be avoided to use default exports because they lead to inconsistent naming and imports because you can use any name you want instead of being forced to use a specific one.

Brian Faust added 2 commits June 8, 2020 05:55
@ghost ghost added Complexity: Medium Less than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation. labels Jun 8, 2020
@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #2047 into 3.0-react will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           3.0-react     #2047   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
===========================================
  Files             24        25    +1     
  Lines            142       143    +1     
  Branches          18        18           
===========================================
+ Hits             142       143    +1     
Impacted Files Coverage Δ
src/app/components/Alert/Alert.tsx 100.00% <ø> (ø)
src/app/components/Card/CardControl.tsx 100.00% <ø> (ø)
src/app/components/ListDivided/ListDivided.tsx 100.00% <ø> (ø)
src/app/components/SvgIcon/SvgIcon.tsx 100.00% <ø> (ø)
src/index.tsx 100.00% <ø> (ø)
src/router/index.tsx 100.00% <ø> (ø)
src/app/components/Alert/style.ts 100.00% <100.00%> (ø)
src/app/components/Button/style.ts 100.00% <100.00%> (ø)
src/domains/profile/routing.tsx 100.00% <100.00%> (ø)
...omains/wallets/pages/ImportWallet/ImportWallet.tsx 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 031830d...5e037ba. Read the comment docs.

@faustbrian faustbrian merged commit 24c9d26 into 3.0-react Jun 8, 2020
@ghost ghost deleted the avoid-default branch June 8, 2020 03:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: Medium Less than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant