Skip to content

Commit

Permalink
Fixup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 13, 2024
1 parent 1c0db86 commit 02515e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ module.exports = {
...[ 'TextControl' ].map( ( componentName ) => ( {
// Not strict. Allows pre-existing __next40pxDefaultSize={ false } usage until they are all manually updated.
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"])):not(:has(JSXAttribute[name.name="size"]))`,
message:
message:
componentName +
' should have the `__next40pxDefaultSize` prop to opt-in to the new default size.',
} ) ),
} ) ),
],
},
},
Expand Down

0 comments on commit 02515e4

Please sign in to comment.