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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 #322

Merged
merged 116 commits into from
Apr 11, 2021
Merged

v4 #322

merged 116 commits into from
Apr 11, 2021

Conversation

Belco90
Copy link
Member

@Belco90 Belco90 commented Apr 11, 2021

Closes #186

nickserv and others added 30 commits June 17, 2020 17:49
BREAKING CHANGE: `prefer-screen-queries` rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.
BREAKING CHANGE: `no-wait-for-empty-callback` rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.
to node-utils, to be used by no-container
for containerIndex
| clean up method declaration
| add description about testing library frameworks
| add link to container docs
| remove recommended badge
| destructure method from container
…#180)

* feat(no-promise-in-fire-event): add new no-promise-in-fire-event rule

* test: 100% code coverage

* docs: add rule to readme

* chore: review changes

* chore: add rule to recommended config
BREAKING CHANGE: `recommended` config preset has been renamed to `dom`, so make sure to update it in your ESLint config file if you were using `recommended` preset.
* feat: add initial files for no-multiple-expect-wait-for rule

* fix: add expect fields in test

* feat: add no-multiple-assertion-wait-for logic

* feat: add findClosestCalleName in node-utils

* feat: add check for expect and rename file

* docs: add no-multiple-assertions-wait-for rule doc

* docs: add link for no-multiple-assertions-wait-for doc

* docs: insert function example in no-multiple-assertions-wait-for

* refactor: remove find closest call node from node-utils

* fix: check expect based in total

* docs: better english in no-multiple-assertions-wait-for rule details

Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>

* fix: use correct rule name in no-multiple-assertions-wait-for

Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>

* docs: improve docs for no-multiple-assertions-wait-for

* fix: typo in no-multiple-assertions-wait-for

* fix: better english in no-multiple-assertions-wait-for

Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>
Belco90 and others added 8 commits April 3, 2021 18:33
fix: guard against null identifier nodes
Closes #305
Closes #306
)

* fix(prefer-user-event): format list of userEvent methods correctly

* test(prefer-user-event): check error data in all invalid cases

Closes #310
* fix: handle require without assignment properly

* fix: handle another require without assignment properly

* fix: update rule levels on presets

- remove prefer-user-event from presets
- report no-debug as error on presets

* docs: indicate prefer-user-event is not enabled in any preset

Closes #313
* docs: first steps for migrating to v4 guide

* docs: extract Aggressive Reporting Query info to its own section

* docs: explain Aggressive Reporting motivation and mechanism

* docs: describe each aggressive reporting mechanism

* docs: shared settings

* docs: update info related to Shareable Configs updated

* docs: fix typo

* docs: fix more typos

* docs: replace tho by though

* docs: fix wrong new lines entered

* ci: remove duplicated max-warnings param
* docs: update README for v4

* docs: move detailed settings to migratuin guide

* docs: format md files with prettier
* fix(prefer-screen-queries): improve error message

* chore: update package keywords

Closes #318
* docs: update contributing guidelines to v4

* docs: contributing guidelines PR suggestion

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>

* docs: more contributing guidelines PR suggestions

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
@Belco90 Belco90 self-assigned this Apr 11, 2021
timdeschryver
timdeschryver previously approved these changes Apr 11, 2021
Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

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

I'm just here to mention that you and everyone involved did a great job with this one! Congrats with the almost-release! 🎉

@Belco90
Copy link
Member Author

Belco90 commented Apr 11, 2021

Thank you @timdeschryver! This would have been a nightmare without your TS migration and expertise, thank you very much for that 👌

Belco90 and others added 2 commits April 11, 2021 18:45
Minimum node version required for using the plugin is still 10.12 but it
was up to 10.22.1 because of a dev dependency. This won't affect usages
of the plugin so I'm reverting it.
More details here: #234
.npmrc Show resolved Hide resolved
@Belco90 Belco90 requested a review from timdeschryver April 11, 2021 17:42
@Belco90 Belco90 merged commit 6e76a28 into main Apr 11, 2021
@Belco90 Belco90 deleted the beta branch April 11, 2021 18:05
@github-actions
Copy link

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gndelia
Copy link
Collaborator

gndelia commented Apr 12, 2021

Wooohoooo 🚀

@MichaelDeBoey MichaelDeBoey added this to the v4 milestone Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESLint plugin Testing Library v4
7 participants