Is your feature request related to a problem? Please describe.
We discovered this issue through an i18n linter set up on WP.com, whereas it wasn't detected within the Gutenberg repo.
Describe the solution you'd like
I think it'd make sense to include similar linting capabilities to Gutenberg, which we'll ideally run from a commit hook, and CI (either Travis or GH Actions) to avoid cases like that in the future.
I'm not sure if core (or WP.org, more generally) already has a linter like that in place (and if we could share it with the Gutenberg repo)?
Question: Do we have a place for PHP linting rules like this in the Gutenberg repo?
Describe alternatives you've considered
N/A
/cc @akirk @epiqueras @chriskmnds
Is your feature request related to a problem? Please describe.
We discovered this issue through an i18n linter set up on WP.com, whereas it wasn't detected within the Gutenberg repo.
Describe the solution you'd like
I think it'd make sense to include similar linting capabilities to Gutenberg, which we'll ideally run from a commit hook, and CI (either Travis or GH Actions) to avoid cases like that in the future.
I'm not sure if core (or WP.org, more generally) already has a linter like that in place (and if we could share it with the Gutenberg repo)?
Question: Do we have a place for PHP linting rules like this in the Gutenberg repo?
Describe alternatives you've considered
N/A
/cc @akirk @epiqueras @chriskmnds