Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suitcss/stylelint-config-suitcss
SUIT CSS config for Stylelint
https://github.com/suitcss/stylelint-config-suitcss
stylelint suit-css
Last synced: about 8 hours ago
JSON representation
SUIT CSS config for Stylelint
- Host: GitHub
- URL: https://github.com/suitcss/stylelint-config-suitcss
- Owner: suitcss
- License: mit
- Created: 2015-06-28T19:26:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T01:16:20.000Z (2 months ago)
- Last Synced: 2024-11-04T15:52:26.366Z (8 days ago)
- Topics: stylelint, suit-css
- Language: JavaScript
- Homepage:
- Size: 605 KB
- Stars: 77
- Watchers: 10
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# stylelint-config-suitcss
[![NPM version](http://img.shields.io/npm/v/stylelint-config-suitcss.svg)](https://www.npmjs.com/package/stylelint-config-suitcss) [![Build Status](https://github.com/suitcss/stylelint-config-suitcss/actions/workflows/ci.yml/badge.svg)](https://github.com/suitcss/stylelint-config-suitcss/actions/workflows/ci.yml)
> SUIT CSS shareable config for Stylelint.
Configuration rules to ensure your CSS code is compliant with [SUIT CSS's code style](https://github.com/suitcss/suit/blob/master/doc/STYLE.md).
## Installation
```console
$ npm install stylelint-config-suitcss
```## Usage
Set your Stylelint config to:
```json
{
"extends": "stylelint-config-suitcss"
}
```### Extending the config
Simply add a `"rules"` key to your config and add your overrides there.
For example, to allow empty blocks in your CSS turn off the `block-no-empty` rule:
```json
{
"extends": "stylelint-config-suitcss",
"rules": {
"block-no-empty": null
}
}
```## [Changelog](CHANGELOG.md)
## [License](LICENSE)