Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dkrnl/stylelint-max-lines
- Owner: dkrnl
- License: mit
- Created: 2020-07-07T07:09:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T07:22:21.000Z (over 4 years ago)
- Last Synced: 2024-10-15T09:04:57.435Z (about 1 month ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}
}
```