Skip to content

Breaking changes for next v5 #478

Closed
@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