Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/niksy/stylelint-config-nitpick

Stylelint config for my projects.
https://github.com/niksy/stylelint-config-nitpick

Last synced: about 2 months ago
JSON representation

Stylelint config for my projects.

Awesome Lists containing this project

README

        

# stylelint-config-nitpick

[![Build Status][ci-img]][ci]

[Stylelint][stylelint] config for my projects.

## Install

```sh
npm install stylelint@16 stylelint-config-nitpick --save-dev
```

## Usage

Add this config to your `.stylelintrc`:

```json
{
"extends": [
"stylelint-config-nitpick"
]
}
```

If you’re using [presets](#presets), **it’s highly recommended to apply default
preset:**

```json
{
"extends": [
"stylelint-config-nitpick",
"stylelint-config-nitpick/other-preset"
]
}
```

## Presets

In addition to default preset, there are also specific presets. You can apply
multiple presets with [Stylelint `extends` option][stylelint-extends].

### SCSS

SCSS specific rules.

```json
{
"extends": [
"stylelint-config-nitpick/scss"
]
}
```

## License

MIT © [Ivan Nikolić](http://ivannikolic.com)

[ci]: https://github.com/niksy/stylelint-config-nitpick/actions?query=workflow%3ACI
[ci-img]: https://github.com/niksy/stylelint-config-nitpick/workflows/CI/badge.svg?branch=master
[stylelint]: http://stylelint.io/
[stylelint-extends]: https://stylelint.io/user-guide/configure#extends