Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 753 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 753 Bytes

stylelint-config-tailwindcss

NPM version

tailwindcss shareable config for stylelint

Installation

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

Usage

set your stylelint config to:

{
  "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.

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

License

MIT License