Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nervous-coats-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-primer-react": patch
---

Fix `Stack` system prop for padding and gap
1 change: 1 addition & 0 deletions src/rules/no-system-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const excludedComponentProps = new Map([
['ProgressBar', new Set(['bg'])],
['PointerBox', new Set(['bg'])],
['Truncate', new Set(['maxWidth'])],
['Stack', new Set(['padding', 'gap'])],
])

const alwaysExcludedProps = new Set(['variant', 'size'])
Expand Down