You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note to our future selves: As we aren't currently using the last version of wp-scripts due to WordPress/gutenberg#62202, we do want to add this rule, at least until we're able to upgrade.
Related to #2624. If we become able to upgrade wp-scripts, then this rule will be auto-included. It probably makes sense to focus on #2624, as it should solve two issues at once.
Is your feature request related to a problem?
The TL;DR is that we should enable the https://typescript-eslint.io/rules/method-signature-style rule in our code, and fix any violations.
To see why, this is an example (originally quoted by @sirreal, can be found here):
Relatedly: https://x.com/mattpocockuk/status/1803753059480121593
The text was updated successfully, but these errors were encountered: