diff --git a/.eslintrc.js b/.eslintrc.js index e96d7f6..aa9d203 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,13 @@ module.exports = { 'react/jsx-boolean-value': 'error', 'import/no-unresolved': 'off', 'import/no-extraneous-dependencies': 'off', + '@wordpress/dependency-group': 'error', + '@wordpress/i18n-text-domain': [ + 'error', + { + allowedTextDomain: 'richtext-extension', + }, + ], 'prettier/prettier': [ 'error', { diff --git a/src/index.js b/src/index.js index 4a2f6f4..04afa17 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,6 @@ +/** + * Internal dependencies + */ import './style.scss'; import './clear-format'; import './underline';