oxc/crates
Cameron cef075df17
fix(linter) Report error instead of panicing if the file fails to open (#1098)
closes #1093


e.g.

```
RUST_BACKTRACE=full cargo run  --bin=oxc_cli lint -D=suspicious -D=style -D=restriction -D=pedantic -D=nursery -D=correctness -A=no-useless-escape ./tasks/coverage/typescript/tests/cases/compiler/corrupted.ts
```

Results in:
```

  × Failed to open file
  help: Failed to open file "./tasks/coverage/typescript/tests/cases/compiler/corrupted.ts" with error "stream did not contain valid UTF-8"

Finished in 10ms on 1 file with 126 rules using 12 threads.
Found 0 warnings and 1 error.
```
2023-10-30 09:53:28 +08:00
..
oxc feat(playground): add transform and minify (#993) 2023-10-14 19:49:58 +08:00
oxc_allocator chore(clippy): enable undocumented_unsafe_blocks 2023-10-16 15:18:14 +08:00
oxc_ast fix(ast): jsx attribute value and text child should be jsx string (#1089) 2023-10-29 15:32:24 +08:00
oxc_cli Codeowners filtering (#1083) 2023-10-29 13:30:20 +08:00
oxc_codegen fix(ast): jsx attribute value and text child should be jsx string (#1089) 2023-10-29 15:32:24 +08:00
oxc_diagnostics fix(linter) Report error instead of panicing if the file fails to open (#1098) 2023-10-30 09:53:28 +08:00
oxc_formatter fix(ast): jsx attribute value and text child should be jsx string (#1089) 2023-10-29 15:32:24 +08:00
oxc_index chore(span,index): update documentation 2023-10-22 11:23:36 +08:00
oxc_linter fix(linter) Report error instead of panicing if the file fails to open (#1098) 2023-10-30 09:53:28 +08:00
oxc_linter_plugin feat(linter): eslint-plugin-unicorn(filename-case) (#978) 2023-10-11 15:23:17 +08:00
oxc_macros refactor(clippy): allow clippy::too_many_lines 2023-10-16 15:18:11 +08:00
oxc_minifier chore(minifier): add --whitespace option to example 2023-10-20 11:33:53 +08:00
oxc_napi perf: speed tasks run by using a global allocator 2023-10-11 20:30:30 +08:00
oxc_parser fix(ast): jsx attribute value and text child should be jsx string (#1089) 2023-10-29 15:32:24 +08:00
oxc_query fix(ast): jsx attribute value and text child should be jsx string (#1089) 2023-10-29 15:32:24 +08:00
oxc_resolver chore(deps): bump the dependencies group with 5 updates (#1002) 2023-10-16 15:23:20 +08:00
oxc_semantic feat(transformer): implement some of needs_explicit_esm for typescript (#1047) 2023-10-24 17:30:01 +08:00
oxc_span refactor(transformer): add an empty SPAN utility for creating AST nodes (#1067) 2023-10-26 18:43:53 +08:00
oxc_syntax feat(transformer/jsx): escape xhtml in jsx attributes (#1088) 2023-10-29 15:16:50 +08:00
oxc_transformer feat(transformer/react): implement fixup_whitespace_and_decode_entities (#1091) 2023-10-29 18:11:51 +08:00
oxc_type_synthesis ci: turn off doc tests because they are slow to compile and run (#961) 2023-10-07 17:01:23 +08:00
oxc_wasm refactor(transformer): add TransformerCtx struct for easier access to symbols and scopes 2023-10-19 16:19:27 +08:00