Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/u7aro/stylelint-config-drupal

Drupal stylelint configuration.
https://github.com/u7aro/stylelint-config-drupal

drupal stylelint

Last synced: 2 months ago
JSON representation

Drupal stylelint configuration.

Awesome Lists containing this project

README

        

# stylelint-config-drupal

You can easily use the Drupal core stylelint configurations in your project or 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 project root or theme/custom module directory.

```json:.stylelintrc.json
{
"extends": "stylelint-config-drupal"
}
```

## How to run

```shell
./node_modules/.bin/stylelint ./css
```