Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zhilidali/stylelint-config-tailwindcss

stylelint config for tailwindcss
https://github.com/zhilidali/stylelint-config-tailwindcss

Last synced: 4 months ago
JSON representation

stylelint config for tailwindcss

Awesome Lists containing this project

README

        

# stylelint-config-tailwindcss

[![NPM version](https://img.shields.io/npm/v/stylelint-config-tailwindcss.svg)](https://www.npmjs.org/package/stylelint-config-tailwindcss)

tailwindcss shareable config for stylelint

## Installation

```sh
npm install stylelint-config-tailwindcss --save-dev
```

## Usage

set your stylelint config to:

```diff
{
"extends": [
"stylelint-config-recommended",
+ "stylelint-config-tailwindcss"
]
}
```

If you use `stylelint-config-sass-guidelines` or similar packages, you can use the following configuration to support rules such as `scss/at-rule-no-unknown`.

```diff
{
"extends": [
"stylelint-config-recommended",
+ "stylelint-config-tailwindcss/scss"
]
}
```

## License

[MIT License](/LICENSE)