stylelint-config-drupal
Version:
Drupal stylelint configuration
26 lines (17 loc) • 457 B
Markdown
# stylelint-config-drupal
You can easily use the Drupal core stylelint settings in your custom themes/modules.
## How to setup
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"
}
```
## How to run
```shell
./node_modules/bin/stylelint ./css
```