Drupal stylelint configuration
npm install stylelint-config-drupalYou can easily use the Drupal core stylelint settings in your custom themes/modules.
Install stylelint and this package with Yarn.
``shell`
yarn add -D stylelint stylelint-config-drupal
Create a .stylelintrc.json file as follows in your theme/custom module directory.
`json:.stylelintrc.json`
{
"extends": "stylelint-config-drupal"
}
`shell``
./node_modules/bin/stylelint ./css