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

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

My Stylelint configuration preset
https://github.com/cyansalt/stylelint-config

stylelint stylelint-config

Last synced: 10 months ago
JSON representation

My Stylelint configuration preset

Awesome Lists containing this project

README

          

# @cyansalt/stylelint-config

[![npm](https://img.shields.io/npm/v/@cyansalt/stylelint-config.svg)](https://www.npmjs.com/package/@cyansalt/stylelint-config)

My Stylelint configuration preset.

## Installation

```shell
npm install --save-dev @cyansalt/stylelint-config
```

## Usage

```javascript
// stylelint.config.js
import config from '@cyansalt/stylelint-config'

export default {
rules: {},
overrides: config(),
}
```

## Options

```javascript
// stylelint.config.js
import config from '@cyansalt/stylelint-config'

export default {
rules: {},
overrides: config({

// Whether to enable SCSS rules.
// It will be enabled when `sass` or `sass-embedded` is installed in the project by default.
scss: true,

}),
}
```