Configure mailpoet as allowed text domain

[MAILPOET-6438]
This commit is contained in:
Rostislav Wolny
2025-01-16 11:10:02 +01:00
committed by Oluwaseun Olorunsola
parent 92e9642e1f
commit eb03fc9bac

View File

@ -5,6 +5,12 @@ module.exports = {
files: [ '**/*.js', '**/*.ts', '**/*.jsx', '**/*.tsx' ], files: [ '**/*.js', '**/*.ts', '**/*.jsx', '**/*.tsx' ],
rules: { rules: {
'react/react-in-jsx-scope': 'off', 'react/react-in-jsx-scope': 'off',
'@wordpress/i18n-text-domain': [
'error',
{
allowedTextDomain: [ 'mailpoet' ],
},
],
}, },
}, },
], ],