@glideapps/prettier-plugin-glide-tailwind
Advanced tools
Comparing version 2.2.12 to 2.2.13
{ | ||
"name": "@glideapps/prettier-plugin-glide-tailwind", | ||
"version": "2.2.12", | ||
"version": "2.2.13", | ||
"description": "Formatting and sorting for glide tailwind classes", | ||
@@ -5,0 +5,0 @@ "author": "Original author - Ari Seyhun | Modified by Bry Nguyen", |
@@ -17,7 +17,7 @@ [![npm version](https://badge.fury.io/js/prettier-plugin-tailwind.svg)](https://badge.fury.io/js/prettier-plugin-tailwind) | ||
- HTML | ||
- CSS (@apply directive) | ||
- ReactJS (JSX, TSX) | ||
- VueJS | ||
- [twin.macro](https://github.com/ben-rogerson/twin.macro) | ||
- HTML | ||
- CSS (@apply directive) | ||
- ReactJS (JSX, TSX) | ||
- VueJS | ||
- [twin.macro](https://github.com/ben-rogerson/twin.macro) | ||
@@ -27,5 +27,3 @@ **Go from this:** | ||
```html | ||
<div class="z-50 z-10 container text-left md:text-center justify-center"> | ||
... | ||
</div> | ||
<div class="z-50 z-10 container text-left md:text-center justify-center">...</div> | ||
``` | ||
@@ -36,5 +34,3 @@ | ||
```html | ||
<div class="container justify-center text-left z-10 z-50 md:text-center"> | ||
... | ||
</div> | ||
<div class="container justify-center text-left z-10 z-50 md:text-center">...</div> | ||
``` | ||
@@ -49,3 +45,3 @@ | ||
```bash | ||
yarn add --dev prettier prettier-plugin-tailwind | ||
npm install --save-dev @glideapps/prettier-plugin-glide-tailwind | ||
``` | ||
@@ -61,19 +57,9 @@ | ||
- [**`twConfig`**](OPTIONS.md#twconfig) - Path to tailwind config relative to the root of the project. | ||
- [**`twPluginsOrder`**](OPTIONS.md#twpluginsorder) - Comma separated order of tailwind plugins to sort classes by. | ||
- [**`twClassesPosition`**](OPTIONS.md#twclassesposition) - Position of component and utility classes. | ||
- [**`twUnknownClassesPosition`**](OPTIONS.md#twunknownclassesposition) - Position of unknown classes. | ||
- [**`twJsxClassAttributes`**](OPTIONS.md#twjsxclassattributes) - Comma separated list of JSX attributes to sort tailwind classes in. | ||
- [**`twSortFunctions`**](OPTIONS.md#twsortfunctions) - Comma separated list of function names to sort classes in arguments. | ||
- [**`twConfig`**](OPTIONS.md#twconfig) - Path to tailwind config relative to the root of the project. | ||
- [**`twPluginsOrder`**](OPTIONS.md#twpluginsorder) - Comma separated order of tailwind plugins to sort classes by. | ||
- [**`twClassesPosition`**](OPTIONS.md#twclassesposition) - Position of component and utility classes. | ||
- [**`twUnknownClassesPosition`**](OPTIONS.md#twunknownclassesposition) - Position of unknown classes. | ||
- [**`twJsxClassAttributes`**](OPTIONS.md#twjsxclassattributes) - Comma separated list of JSX attributes to sort tailwind classes in. | ||
- [**`twSortFunctions`**](OPTIONS.md#twsortfunctions) - Comma separated list of function names to sort classes in arguments. | ||
More details can be found in [OPTIONS.md](OPTIONS.md) | ||
## Contributing 🙌 | ||
Contributions are more than welcome. If you see any changes fit, go ahead and open an issue or PR. | ||
--- | ||
Any support is a huge motivation, thank you very much! | ||
<a href="https://www.buymeacoffee.com/ariseyhun" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-orange.png" alt="Buy Me A Coffee" height="32" width="140"></a> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72433
61