Skip to content

Commit 9b82575

Browse files
authored
Merge pull request #1532 from oasisprotocol/lw/lint-styled
Add eslint rule to ban '@emotion/styled' imports
2 parents 9176c93 + ee552a1 commit 9b82575

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changelog/1532.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add eslint rule to ban '@emotion/styled' imports

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config = {
2828
],
2929
patterns: [
3030
{
31-
group: ['@mui/system'],
31+
group: ['@mui/system', '@emotion/styled'],
3232
message: "Use '@mui/material/styles' instead.",
3333
},
3434
{

0 commit comments

Comments
 (0)