File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
crates/biome_js_analyze/src/lint/nursery Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,6 @@ impl Rule for NoVueSetupPropsReactivityLoss {
165165 violations. extend ( check_plain_js_setup_functions ( ctx. query ( ) , ctx. model ( ) ) ) ;
166166 }
167167 }
168-
169- violations. extend ( check_additional_setup_patterns ( ctx. query ( ) , ctx. model ( ) ) ) ;
170-
171168 violations
172169 }
173170
@@ -746,22 +743,3 @@ fn extract_setup_violations_from_members(
746743 . flat_map ( |setup_fn| check_setup_function ( & setup_fn, model) )
747744 . collect ( )
748745}
749-
750- fn check_additional_setup_patterns (
751- potential_component : & AnyPotentialVueComponent ,
752- model : & SemanticModel ,
753- ) -> Vec < Violation > {
754- match potential_component {
755- AnyPotentialVueComponent :: JsExportDefaultExpressionClause ( export_clause) => {
756- let Ok ( expr) = export_clause. expression ( ) else {
757- return Vec :: new ( ) ;
758- } ;
759- let Some ( func) = extract_function_from_expression ( & expr) else {
760- return Vec :: new ( ) ;
761- } ;
762- let setup_func = SetupFunction :: Function ( func) ;
763- check_setup_function ( & setup_func, model)
764- }
765- AnyPotentialVueComponent :: JsCallExpression ( _) => Vec :: new ( ) ,
766- }
767- }
You can’t perform that action at this time.
0 commit comments