Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

WIP: Rename exports#14

Open
dhoko wants to merge 8 commits intomasterfrom
feat/renameExports
Open

WIP: Rename exports#14
dhoko wants to merge 8 commits intomasterfrom
feat/renameExports

Conversation

@dhoko
Copy link
Contributor

@dhoko dhoko commented Mar 20, 2019

  • Add linter to check if we have a broken import
  • Rename components
  • Ignore some items (helpers, )

TL;DR

  • <componentName>/index.js => export { default as ComponentName }
  • <componentName>/<flavor>.js => export { default as FlavorComponentName }

ex:

  • button/index.js => export { default as Button }
  • button/small.js => export { default as SmallButton }

@dhoko dhoko changed the title Rename exports WIP: Rename exports Mar 20, 2019
@dhoko dhoko force-pushed the feat/renameExports branch from 948e19f to 88ddc12 Compare March 20, 2019 17:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant