Overview
I was casually writing code and stumbled upon this linting error. Not sure if it's a bug, but looks like one 🤔
Unknown rule shopify/content-no-strings. stylelint(shopify/content-no-strings)


Snippet from the screenshot:
const imageMarkup = () => {
let imageStyle = null;
if (card.image && !selected) {
imageStyle = {
backgroundSize: 'cover',
backgroundPosition: '50%',
backgroundImage: `url(${card.image.src})`,
};
} else if (card.image && selected) {
imageStyle = {
backgroundSize: '70%',
backgroundPosition: '50%',
backgroundRepeat: 'no-repeat',
backgroundImage: `url(${card.image.src})`,
};
} else {
imageStyle = undefined;
}
return <div className={styles.Image} style={imageStyle} />;
};
Consuming repo
What repo were you working in when this issue occurred?
Shopify/email
Checklist
Overview
I was casually writing code and stumbled upon this linting error. Not sure if it's a bug, but looks like one 🤔
Unknown rule shopify/content-no-strings. stylelint(shopify/content-no-strings)Snippet from the screenshot:
Consuming repo
Shopify/email
Checklist