Skip to content

Commit

Permalink
ESLint: Add new rules (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed May 5, 2024
1 parent 04bc7ca commit eca22f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
{
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* Internal dependencies
*/
import './style.scss';
import './clear-format';
import './underline';
Expand Down

0 comments on commit eca22f6

Please sign in to comment.