Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

feat: use TS variant of class-methods-use-this #358

Conversation

Kenneth-Sills
Copy link

By default, this does not deviate in behavior from the original rule. It does, however, provide users with additional configuration options to disable errors when this is not used in classes that implement interfaces or methods that explicitly override parent methods.

The configuration we provide has been left at the default, though, since those rules are arguably over-permissive in the pursuit of not requiring type information.

Closes #344.

By default, this does not deviate in behavior from the original rule.
It does, however, provide users with additional configuration options
to disable errors when `this` is not used in classes that
implement interfaces or methods that explicitly override parent methods.

The configuration we provide has been left at the default, though,
since those rules are arguably over-permissive in the pursuit of not
requiring type information.

Closes #344.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider using @typescript-eslint/class-methods-use-this
1 participant