Configure CRA project to stylelint with stylelint-custom-processor-loader.
npm install react-app-rewire-stylelint-custom-processor
# or
yarn add react-app-rewire-stylelint-custom-processor
// config-overrides.js
const rewireStylelintCustomProcessor = require('react-app-rewire-stylelint-custom-processor');
module.exports = function override(config, env) {
config = rewireStylelintCustomProcessor(config, env, { /* options... */ });
return config;
}