Skip to content

Commit 05ebbb7

Browse files
committedJun 22, 2023
fix: fixed loading of you-dont-need-momentjs, split the check to check for moment and moment-timezone separately
Signed-off-by: prisis <d.bannert@anolilab.de>
1 parent e4a654e commit 05ebbb7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎packages/eslint-config/src/config.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ const pluginConfig: PackageRules = [
8181
},
8282
{
8383
configName: "you-dont-need-momentjs",
84-
dependencies: ["moment", "moment-timezone", "eslint-plugin-you-dont-need-momentjs"],
84+
dependencies: ["moment", "eslint-plugin-you-dont-need-momentjs"],
85+
},
86+
{
87+
configName: "you-dont-need-momentjs",
88+
dependencies: ["moment-timezone", "eslint-plugin-you-dont-need-momentjs"],
8589
},
8690
{
8791
configName: "tailwindcss",

0 commit comments

Comments
 (0)
Please sign in to comment.