Skip to content

Commit 5cc9630

Browse files
authored
no-system-props: Add alignContent to allowed props for Button (#133)
* Update no-system-props.js * Create slimy-laws-refuse.md
1 parent 1d91d07 commit 5cc9630

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/slimy-laws-refuse.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-primer-react": patch
3+
---
4+
5+
no-system-props: Add alignContent to allowed props for Button

src/rules/no-system-props.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const excludedComponentProps = new Map([
1919
['Avatar', new Set(['size'])],
2020
['AvatarToken', new Set(['size'])],
2121
['Blankslate', new Set(['border'])],
22+
['Button', new Set(['alignContent'])],
2223
['CircleOcticon', new Set(['size'])],
2324
['Dialog', new Set(['width', 'height'])],
2425
['IssueLabelToken', new Set(['size'])],

0 commit comments

Comments
 (0)