Add new eslint plugin to check for valid i18n keys
This commit is contained in:
parent
465b4cb0fb
commit
569b6e14a6
39 changed files with 447 additions and 78 deletions
|
@ -47,6 +47,7 @@ export function WhatsNewModal({
|
|||
const { key, components } = releaseNotes.features[0];
|
||||
contentNode = (
|
||||
<p>
|
||||
{/* eslint-disable-next-line local-rules/valid-i18n-keys */}
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id={key}
|
||||
|
@ -60,6 +61,7 @@ export function WhatsNewModal({
|
|||
<ul>
|
||||
{releaseNotes.features.map(({ key, components }) => (
|
||||
<li key={key}>
|
||||
{/* eslint-disable-next-line local-rules/valid-i18n-keys */}
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id={key}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue