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