@ianvs/prettier-plugin-sort-imports
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -64,3 +64,3 @@ "use strict"; | ||
// Do not inject jsx plugin for non-jsx ts files | ||
if (filepath.endsWith('.ts')) { | ||
if (filepath?.endsWith('.ts')) { | ||
plugins = plugins.filter((p) => p !== 'jsx'); | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "@ianvs/prettier-plugin-sort-imports", | ||
"private": false, | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "A prettier plugins to sort imports in provided RegEx order", | ||
@@ -6,0 +6,0 @@ "main": "lib/src/index.js", |
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
106527