Skip to content

Commit 1750256

Browse files
authored
fix(rules): update no-system-props to include Blankslate (#76)
* fix(rules): update no-system-props to include Blankslate * Create six-pumas-live.md
1 parent d9b0fd1 commit 1750256

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/six-pumas-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-primer-react": patch
3+
---
4+
5+
Update the no-system-props rule to exclude the `border` prop for the `Blankslate` component from `@primer/react`.

src/rules/no-system-props.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const excludedComponentProps = new Map([
1818
['AnchoredOverlay', new Set(['width', 'height'])],
1919
['Avatar', new Set(['size'])],
2020
['AvatarToken', new Set(['size'])],
21+
['Blankslate', new Set(['border'])],
2122
['CircleOcticon', new Set(['size'])],
2223
['Dialog', new Set(['width', 'height'])],
2324
['IssueLabelToken', new Set(['size'])],

0 commit comments

Comments
 (0)