Files
piratepoet/packages/js/email-editor/.eslintrc.js
Rostislav Wolny eb03fc9bac Configure mailpoet as allowed text domain
[MAILPOET-6438]
2025-01-17 11:35:49 +01:00

18 lines
343 B
JavaScript

module.exports = {
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
overrides: [
{
files: [ '**/*.js', '**/*.ts', '**/*.jsx', '**/*.tsx' ],
rules: {
'react/react-in-jsx-scope': 'off',
'@wordpress/i18n-text-domain': [
'error',
{
allowedTextDomain: [ 'mailpoet' ],
},
],
},
},
],
};