Skip to content

Commit b49b8d4

Browse files
committed
exclude BaseStyles
1 parent 4a852ec commit b49b8d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/rules/no-system-props.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ const {pick} = require('@styled-system/props')
33
const {some, last} = require('lodash')
44

55
// Components for which we allow all styled system props
6-
const excludedComponents = new Set(['Box', 'Text'])
6+
const excludedComponents = new Set([
7+
'Box',
8+
'Text',
9+
'BaseStyles' // BaseStyles will be deprecated eventually
10+
])
711

812
// Components for which we allow a set of prop names
913
const excludedComponentProps = new Map([

0 commit comments

Comments
 (0)