File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
crates/oxc_linter/src/rules/react Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -437,22 +437,6 @@ fn test() {
437437 serde_json:: json!( [ { "eventHandlerPrefix" : "on" , "eventHandlerPropPrefix" : "on" } ] ) ,
438438 ) ,
439439 ) ,
440- // These test cases are commented out because "::" is not understood by the parser.
441- // ("<TestComponent onChange={props::handleChange} />", None),
442- // ("<TestComponent onChange={::props.onChange} />", None),
443- // ("<TestComponent onChange={props.foo::handleChange} />", None),
444- // (
445- // "<TestComponent onChange={() => props::handleChange()} />",
446- // Some(serde_json::json!([{ "checkInlineFunction": true }])),
447- // ),
448- // (
449- // "<TestComponent onChange={() => ::props.onChange()} />",
450- // Some(serde_json::json!([{ "checkInlineFunction": true }])),
451- // ),
452- // (
453- // "<TestComponent onChange={() => props.foo::handleChange()} />",
454- // Some(serde_json::json!([{ "checkInlineFunction": true }])),
455- // ),
456440 ( "<TestComponent only={this.only} />" , None ) ,
457441 (
458442 "<TestComponent onChange={this.someChange} />" ,
You can’t perform that action at this time.
0 commit comments