File tree 1 file changed +4
-6
lines changed
crates/oxc_linter/src/rules/eslint
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -365,12 +365,10 @@ fn test() {
365
365
( "switch (foo) { case 0: try {} finally { break; } default: b(); }" , None ) ,
366
366
( "switch (foo) { case 0: try { throw 0; } catch (err) { break; } default: b(); }" , None ) ,
367
367
( "switch (foo) { case 0: do { throw 0; } while(a); default: b(); }" , None ) ,
368
- // TODO: we need a way to handle disables in the higher context, For example purging
369
- // disabled diagnostics.
370
- // (
371
- // "switch (foo) { case 0: a(); \n// eslint-disable-next-line no-fallthrough\n case 1: }",
372
- // None,
373
- // ),
368
+ (
369
+ "switch (foo) { case 0: a(); \n // eslint-disable-next-line no-fallthrough\n case 1: }" ,
370
+ None ,
371
+ ) ,
374
372
(
375
373
"switch(foo) { case 0: a(); /* no break */ case 1: b(); }" ,
376
374
Some ( serde_json:: json!( [ {
You can’t perform that action at this time.
0 commit comments