eslint-plugin-tailwindcss
Advanced tools
Comparing version 3.3.7 to 3.4.0
@@ -16,2 +16,3 @@ /** | ||
'classnames-order': require(base + 'classnames-order'), | ||
'enforces-negative-arbitrary-values': require(base + 'enforces-negative-arbitrary-values'), | ||
'enforces-shorthand': require(base + 'enforces-shorthand'), | ||
@@ -18,0 +19,0 @@ 'migration-from-tailwind-2': require(base + 'migration-from-tailwind-2'), |
{ | ||
"name": "eslint-plugin-tailwindcss", | ||
"version": "3.3.7", | ||
"version": "3.4.0", | ||
"description": "Rules enforcing best practices while using Tailwind CSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -40,2 +40,3 @@ # eslint-plugin-tailwindcss | ||
- New rule: [`enforces-negative-arbitrary-values`](docs/rules/enforces-negative-arbitrary-values.md): prefers `top-[-5px]` instead of `-top-[5px]` | ||
- FIX: [allowing negative arbitrary values in dash prefixed classnames](https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/112) | ||
@@ -66,2 +67,3 @@ - FIX: deprecated message for `ring-opacity-*` in `migration-from-tailwind-2` rule | ||
- [`classnames-order`](docs/rules/classnames-order.md): order classnames by target properties then by variants (`[size:][theme:][state:]`) | ||
- [`enforces-negative-arbitrary-values`](docs/rules/enforces-negative-arbitrary-values.md): make sure to use negative arbitrary values classname without the negative classname e.g. `-top-[5px]` should become `top-[-5px]` | ||
- [`enforces-shorthand`](docs/rules/enforces-shorthand.md): merge multiple classnames into shorthand if possible e.g. `mx-5 my-5` should become `m-5` | ||
@@ -68,0 +70,0 @@ - [`migration-from-tailwind-2`](docs/rules/migration-from-tailwind-2.md) for easy upgrade from TailwindCSS `v2` to `v3`. |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
154652
26
4262
195
11