Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chialab/stylelint-config

💅 Chialab's linting rules for Stylelint.
https://github.com/chialab/stylelint-config

Last synced: about 2 months ago
JSON representation

💅 Chialab's linting rules for Stylelint.

Awesome Lists containing this project

README

        

# @chialab/stylelint-config

Chialab's linting rules for [Stylelint](https://stylelint.io/).

## Usage

Install Stylelint:

```
npm i -D stylelint
```

```
yarn add -D stylelint
```

Install `@chialab/stylelint-config`:

```
npm i -D @chialab/stylelint-config
```

```
yarn add -D @chialab/stylelint-config
```

Create a `.stylelintrc.json` file and add the configuration:

**.stylelintrc.json**

```json
{
"extends": "@chialab/stylelint-config"
}
```

## IDE

Install the Stylelint extension for your IDE (optional):

* [VSCode](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)