mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
1d22912cb4
## Summary - extract directive justifications before parsing directive labels, matching ESLint - return an empty rule value for rule-less directives while preserving their justification - cover block, enable, line, and next-line directives with both eslint and oxlint prefixes Closes #25556
401 B
401 B
Exit code
1
stdout
x get-disable-directives-plugin(get-disable-directives): getDisableDirectives:
| total: 20
| block: 8
| line: 4
| next-line: 4
| enable: 4
,-[files/test.js:2:1]
1 | // oxlint-disable no-unused-vars
2 | let a;
: ^^^^^^
3 |
`----
Found 0 warnings and 1 error.
Finished in Xms on 1 file with 97 rules using X threads.
stderr