Skip to content

Commit

Permalink
add eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 26, 2024
1 parent be5580a commit c151282
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/kbn-eslint-config/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ module.exports = {
from: 'rison-node',
to: '@kbn/rison',
},
{
from: 'react-dom/client',
to: 'react-dom',
exact: true,
disallowedMessage:
'Use `react-dom` instead of `react-dom/client` until upgraded to React 18',
},
],
],

Expand Down

0 comments on commit c151282

Please sign in to comment.