Skip to content

Commit

Permalink
ESLint: update error message for @emotion/css with info about the `…
Browse files Browse the repository at this point in the history
…useCx` hook (#34418)
  • Loading branch information
ciampo authored Aug 31, 2021
1 parent 29f73f0 commit 7c0c66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = {
{
name: '@emotion/css',
message:
'Please use `@emotion/react` and `@emotion/styled` in order to maintain iframe support',
'Please use `@emotion/react` and `@emotion/styled` in order to maintain iframe support. As a replacement for the `cx` function, please use the `useCx` hook defined in `@wordpress/components` instead.',
},
],
},
Expand Down

0 comments on commit 7c0c66d

Please sign in to comment.