Skip to content

Breaking changes for next v5Β #478

@Belco90

Description

@Belco90

I have a couple of breaking changes I think we should introduce in the new major version taking advantage of having to support ESLint 8

This project is maintained by volunteers. Support will be added as time permits.

If you're not willing or able to help with adding support:

  • Please do not raise issues.
  • Please do not comment on threads.
  • Please be patient and subscribe to this issue for updates.

This update will require breaking changes on our side as well, so it will take some time to support it.
There is no ETA on this work. Again please be patient.


βœ… = done
πŸ• = in progress
πŸ”² = not yet started

βœ… Enable more rules in the shared configs

βœ… no-render-in-setup

Enable for angular, react & vue configs (dom doesn't have a render method)

βœ… no-unnecessary-act

Enable for react configs

βœ… no-wait-for-multiple-assertions

Enable for all configs

βœ… no-wait-for-side-effects

Enable for all configs

βœ… no-wait-for-snapshot

Enable for all configs

βœ… prefer-presence-queries

Enable for all configs

βœ… prefer-query-by-disappearance

Enable for all configs

βœ… Make isStrict option true by default for no-unnecessary-act

We have enabled this rule with isStrict to true in the shared configs, this option is still false by default. We should change it so it's true by default.

βœ… Rules rename

We have some inconsistencies in naming some of our rules regarding using singular/plural.

βœ… await-async-query -> await-async-queries

βœ… no-await-sync-query -> no-await-sync-queries

βœ… no-debug -> no-debugging-utils

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions