Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/u7aro/stylelint-config-drupal
- Owner: u7aro
- Created: 2020-12-11T02:01:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-07T05:44:19.000Z (almost 3 years ago)
- Last Synced: 2024-11-19T10:06:45.012Z (3 months ago)
- Topics: drupal, stylelint
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```