@@ -462,44 +462,44 @@ Finished in Xms on 1 file using X threads."
462462
463463exports[`oxlint2 CLI > should respect disable directives for custom plugin rules 1`] = `
464464"
465- x test-plugin (no-var ): Use let or const instead of var
466- ,-[index .js:1 :1]
467- 1 | var shouldError = 1;
468- : ^^^^^^^^^^^^^^^^^^^^
469- 2 |
470- \`----
471-
472- x ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-debugger.html\\eslint(no-debugger)]8;;\\: \`debugger\` statement is not allowed
473- ,-[index.js:10:1]
474- 9 | // should trigger an error
475- 10 | debugger;
476- : ^^^^^^^^^
477- 11 |
478- \`----
479- help: Remove the debugger statement
480-
481- x test -plugin(no-var): Use let or const instead of var
482- ,-[index .js:16:1]
483- 15 | /* oxlint-disable-next-line test-plugin */ // \`test-plugin\` should be \`test-plugin/no-var\`
484- 16 | var incorrectlyDisabled = 4;
485- : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
486- 17 |
487- \`----
488-
489- x test -plugin(no-var): Use let or const instead of var
490- ,-[index .js:19:1]
491- 18 | /* oxlint-disable-next-line no-var */ // \`no-var\` should be \`test-plugin/no-var\`
492- 19 | var anotherIncorrectlyDisabled = 4;
493- : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
494- 20 |
495- \`----
496-
497- x test -plugin(no-var): Use let or const instead of var
498- ,-[index .js:22:1]
499- 21 | // This var should trigger an error again
500- 22 | var shouldErrorAgain = 3;
501- : ^^^^^^^^^^^^^^^^^^^^^^^^^
502- \`----
465+ [38;2;225;80;80;1m×[0m [38;2;225;80;80;1meslint (no-debugger ): \`debugger\` statement is not allowed[0m
466+ ╭─[[38;2;92;157;255;1mindex .js[0m:10 :1]
467+ [2m 9[0m │ // should trigger an error
468+ [2m10[0m │ debugger;
469+ · [38;2;246;87;248m─────────[0m
470+ [2m11[0m │
471+ ╰────
472+ [38;2;106;159;181m help: [0mRemove the debugger statement
473+
474+ [38;2;225;80;80;1m×[0m [38;2;225;80;80;1mtest-plugin(no-var): Use let or const instead of var[0m
475+ ╭─[[38;2;92;157;255;1mindex.js[0m:1:1]
476+ [2m1[0m │ var shouldError = 1;
477+ · [38;2;246;87;248m────────────────────[0m
478+ [2m2[0m │
479+ ╰────
480+
481+ [38;2;225;80;80;1m×[0m [38;2;225;80;80;1mtest -plugin(no-var): Use let or const instead of var[0m
482+ ╭─[[38;2;92;157;255;1mindex .js[0m :16:1]
483+ [2m15[0m │ /* oxlint-disable-next-line test-plugin */ // \`test-plugin\` should be \`test-plugin/no-var\`
484+ [2m16[0m │ var incorrectlyDisabled = 4;
485+ · [38;2;246;87;248m────────────────────────────[0m
486+ [2m17[0m │
487+ ╰────
488+
489+ [38;2;225;80;80;1m×[0m [38;2;225;80;80;1mtest -plugin(no-var): Use let or const instead of var[0m
490+ ╭─[[38;2;92;157;255;1mindex .js[0m :19:1]
491+ [2m18[0m │ /* oxlint-disable-next-line no-var */ // \`no-var\` should be \`test-plugin/no-var\`
492+ [2m19[0m │ var anotherIncorrectlyDisabled = 4;
493+ · [38;2;246;87;248m───────────────────────────────────[0m
494+ [2m20[0m │
495+ ╰────
496+
497+ [38;2;225;80;80;1m×[0m [38;2;225;80;80;1mtest -plugin(no-var): Use let or const instead of var[0m
498+ ╭─[[38;2;92;157;255;1mindex .js[0m :22:1]
499+ [2m21[0m │ // This var should trigger an error again
500+ [2m22[0m │ var shouldErrorAgain = 3;
501+ · [38;2;246;87;248m─────────────────────────[0m
502+ ╰────
503503
504504Found 0 warnings and 5 errors.
505505Finished in Xms on 1 file using X threads."
0 commit comments