Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dkrnl/stylelint-max-lines

Limit the count of a lines.
https://github.com/dkrnl/stylelint-max-lines

Last synced: 6 days ago
JSON representation

Limit the count of a lines.

Awesome Lists containing this project

README

        

# stylelint-max-lines
Limit the count of a lines.

## Installation

1. If you haven't, install [stylelint]:

```
npm install stylelint --save-dev
```

2. Install `stylelint-max-lines`:

```
npm install stylelint-max-lines --save-dev
```

## Usage

Add `stylelint-max-lines` to your stylelint config `plugins` array, then add rules you need to the rules list. All rules from stylelint-max-lines need to be namespaced with `pitcher`.

```json
{
"plugins": [
"stylelint-max-lines"
],
"rules": {
"pitcher/max-lines": 300
}
}
```