We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302a673 commit a3ec1f1Copy full SHA for a3ec1f1
src/rules/no-deprecated-colors.js
@@ -16,6 +16,7 @@ module.exports = {
16
const propName = attribute.name.name
17
const propValue = attribute.value.value
18
19
+ // Check if styled-system color prop is using a deprecated color
20
if (styledSystemColorProps.includes(propName) && Object.keys(deprecations).includes(propValue)) {
21
const replacement = deprecations[propValue]
22
0 commit comments