Skip to content

Commit a3ec1f1

Browse files
authored
Add comment
1 parent 302a673 commit a3ec1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/no-deprecated-colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = {
1616
const propName = attribute.name.name
1717
const propValue = attribute.value.value
1818

19+
// Check if styled-system color prop is using a deprecated color
1920
if (styledSystemColorProps.includes(propName) && Object.keys(deprecations).includes(propValue)) {
2021
const replacement = deprecations[propValue]
2122

0 commit comments

Comments
 (0)