stylelint modern linter that helps you avoid errors and enforce conventions in your styles.
yarn add stylelint @linters/stylelint-css-in-js-config -D
Create a .stylelintrc.js file with the following contents:
module.exports = {
extends: ['@linters/stylelint-css-in-js-config'],
}