Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 馃幐 add ramda and test-tools import messages #42

Merged
merged 3 commits into from Feb 3, 2020

Conversation

kaisermann
Copy link
Contributor

@kaisermann kaisermann commented Jan 31, 2020

What is the purpose of this pull request?

Add recommendation messages for restricted imports (@testing-library/react and lodash).

Screenshots or example usage

image

Unfortunately, currently eslint doesn't support adding messages to a pattern restriction, so lodash/* is not as nice as it could be. There's an open issue about this here. We could probably help implement this, seems easy enough. Do we wait for that?

Closes #13

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires change to documentation, which has been updated accordingly.

@kaisermann kaisermann self-assigned this Jan 31, 2020
@kaisermann kaisermann marked this pull request as ready for review January 31, 2020 21:10
@kaisermann kaisermann requested a review from klzns January 31, 2020 21:23
@@ -39,6 +39,7 @@
"postinstall": "lerna bootstrap && yarn build && lerna link"
},
"devDependencies": {
"@geut/chan": "^2.1.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wtf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃ぃ util to add changes to the changelog following the keep a changelog pattern. It was already being used in the project, I just forgot to add it to the deps https://github.com/geut/chan/tree/master/packages/chan

@kaisermann kaisermann requested a review from klzns February 3, 2020 13:25
@kaisermann kaisermann merged commit c3fe107 into master Feb 3, 2020
@kaisermann kaisermann deleted the feat/add-import-messages branch February 3, 2020 14:44
kaisermann added a commit that referenced this pull request Feb 3, 2020
* feat: 馃幐 add ramda and test-tools import messages

* chore: 馃 update changelog and add chan dep

* chore: 馃 remove wrong ci task
kaisermann added a commit that referenced this pull request Feb 3, 2020
* feat: 馃幐 add ramda and test-tools import messages

* chore: 馃 update changelog and add chan dep

* chore: 馃 remove wrong ci task
kaisermann added a commit that referenced this pull request Feb 3, 2020
* feat: 馃幐 add ramda and test-tools import messages

* chore: 馃 update changelog and add chan dep

* chore: 馃 remove wrong ci task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce Ramda on VTEX IO apps in favor of Lodash
2 participants