stylelint-config-learnx
This package includes the shareable Stylelint configuration used by the WWL org, and is the recommended default for React apps.
Usage in an app
yarn add stylelint-config-learnx styleint --dev
Setting up the stylelint config
Finally, create a file named stylelint.config.js
with following contents in the root folder of your project:
module.exports = {
extends: ['stylelint-config-learnx'],
};
That's it! You can override the settings from stylelint-config-learnx
by editing the stylelint.config.js
file. Learn more about configuring Stylelint on the Stylelint website.
test