2.0.0 • Published 3 years ago

@soyhuce/stylelint-config-tailwindcss v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@soyhuce/stylelint-config-tailwindcss

StyleLint shareable config for TailwindCSS style.

Installation

pnpm add -D @soyhuce/stylelint-config-tailwindcss

# with standard config and StyleLint
pnpm add -D stylelint @soyhuce/stylelint-config @soyhuce/stylelint-config-tailwindcss

Usage

In order to use this config, choose the one you want and add this configuration to your package.json:

{
 "stylelint": {
   "extends": [
     "@soyhuce/stylelint-config",
+    "@soyhuce/stylelint-config-tailwindcss"
   ]
 }
}

Or add a .stylelintrc.js file to your project root containing:

module.exports = {
  extends: [
    '@soyhuce/stylelint-config',
+   '@soyhuce/stylelint-config-tailwindcss'
  ]
}

VSCode integration

We recommend turning on VSCode settings to automatically run stylelint --fix on save.

"editor.codeActionsOnSave": {
+  "source.fixAll.stylelint": true
}

This will automatically format your code once you save.

License

MIT

2.0.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.2.0

3 years ago

0.1.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

0.0.1

4 years ago

0.0.0

4 years ago