File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,12 @@ export async function functional(
41
41
"functional/prefer-immutable-types" : "error" ,
42
42
"functional/type-declaration-immutability" : "error" ,
43
43
"functional/no-mixed-types" : "error" ,
44
- "functional/no-conditional-statements" : "error" ,
44
+ "functional/no-conditional-statements" : [
45
+ "error" ,
46
+ {
47
+ ignoreCodePattern : [ "import.meta.vitest" ] ,
48
+ } ,
49
+ ] ,
45
50
"functional/no-expression-statements" : "error" ,
46
51
"functional/no-return-void" : "error" ,
47
52
"functional/prefer-property-signatures" : stylistic === false ? "off" : "error" ,
@@ -85,6 +90,7 @@ export async function functional(
85
90
"error" ,
86
91
{
87
92
allowReturningBranches : true ,
93
+ ignoreCodePattern : [ "import.meta.vitest" ] ,
88
94
} ,
89
95
] ,
90
96
"functional/no-expression-statements" : [
You can’t perform that action at this time.
0 commit comments