Boshen
6706541049
refactor(linter): remove complicated linter service setup
2023-09-03 18:14:05 +08:00
Boshen
b9bd5ff7ab
refactor(cli): collect all the paths before linting
2023-09-03 16:36:02 +08:00
Boshen
53b094e46c
chore: clean up deps ( #840 )
2023-09-02 21:34:24 +08:00
Boshen
693145107c
refactor(linter): less a global hashmap to reduce rule timer macro expansion ( #822 )
...
closes #819
2023-09-01 10:32:17 +08:00
Boshen
c88823244e
fix(cli): correct ignore-pattern behavior; add more cli tests ( #796 )
2023-08-26 00:03:49 +08:00
Boshen
4ee56576c7
feat(cli): add basic unit tests ( #793 )
2023-08-25 21:26:14 +08:00
Boshen
1b5ef7cdc8
refactor(cli): remove unused lint/error.rs ( #792 )
2023-08-25 16:46:26 +08:00
Boshen
592137586c
feat(cli): use insta_cmd for cli snapshot testing ( #791 )
...
closes #776
2023-08-25 16:26:34 +08:00
Boshen
cc862536f6
fix(cli): print timing after lint run
2023-08-21 11:51:15 +08:00
Boshen
03df8fcc68
refactor(cli): print the final result; fix plural on number of files
2023-08-21 11:51:15 +08:00
Boshen
de7735dc1d
fix(cli): fix race condition when resolving paths
2023-08-20 23:13:00 +08:00
Boshen
a7a834a3f7
fix(linter): fix some race conditions
2023-08-20 15:53:20 +08:00
Boshen
5152b39b17
chore: clean up Cargo.toml with cargo machete ( #767 )
2023-08-20 15:29:09 +08:00
Boshen
a9a6bb800c
refactor(cli,linter): move path processing logic from cli to linter ( #766 )
2023-08-20 15:12:08 +08:00
Boshen
324acfccc8
refactor(cli,linter): move the lint runner from cli to linter ( #764 )
2023-08-20 00:59:49 +08:00
Boshen
275124068b
refactor(cli,diagnostics): implement DiagnosticService ( #762 )
2023-08-19 18:18:09 +08:00
Boshen
1fdce7e517
refactor(cli): split out group options ( #760 )
2023-08-19 12:09:35 +08:00
Boshen
6f1daa67b2
refactor(cli): clean up lint and cli options ( #759 )
2023-08-19 00:06:12 +08:00
Boshen
5bcd736ae9
fix(cli): correctly parse clippy like filters "-A rule -D rule" ( #758 )
2023-08-18 22:00:05 +08:00
Boshen
772f71f191
refactor(cli): add WalkOptions for walk logic ( #757 )
2023-08-18 18:09:11 +08:00
Boshen
a9c4fddb6d
refactor(cli): use bpaf instead clap ( #756 )
2023-08-18 17:14:06 +08:00
Boshen
3110490f36
refactor(cli,linter): move LintOptions from cli to linter ( #753 )
...
This also simplifies the Runner trait.
2023-08-17 22:28:34 +08:00
Boshen
2f48bdf26f
fix(parser,semantic): make semantic own Trivias ( #711 )
...
closes #708
Making the parser return Rc<Trivias> is not a good API, and ideally
`Semantic` should just own `Trivias` so it can process or mutate it.
2023-08-10 15:30:32 +08:00
阿良仔
8a915cec5c
feat: vscode extension ( #690 )
...
related: #688 .
There are some unfinished things that need to be finalised by Boshen.
1. Official icon and description for the package.
2. Publishing strategy ( It's probably not a good idea to use
`package.json` as a probe to publish extension, as there's too much
vscode configuration coupled to it, a git tag like `vscode_v0.0.x` might
be worth considering ).
3. License for the extension.
2023-08-06 21:28:49 +08:00
Don Isaac
e7d8d4ba46
feat(linter): enable module record builder
2023-08-02 11:44:27 +08:00
Boshen
c956f7e897
refactor(cli): remove experimental code "module_tree_handler" ( #670 )
...
This code will eventually be superseded by
https://github.com/web-infra-dev/oxc/pull/530 , removing this for now so
others don't have to touch this.
2023-07-31 12:40:14 +08:00
Boshen
c42a61f34f
feat(cli): separate warnings and errors numbers and print separately
2023-07-29 11:02:51 +08:00
Boshen
edb3f8b634
fix(cli): improve the TIMING=1 table alignment
2023-07-29 11:02:51 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories
2023-07-27 13:33:18 +08:00
Shannon Rothe
21f8abe273
feat(cli): add support for TIMING env var ( #535 )
2023-07-25 11:14:36 +08:00
Don Isaac
3ab9ae121d
refactor(cli): Runners ( #533 )
2023-07-14 11:39:23 +08:00
Boshen
38e11956be
chore(rust): rust version 1.71.0 nightly
2023-07-13 23:10:10 +08:00
Boshen
a9debc9fdb
feat(resolver): add resolver test fixtures ( #542 )
2023-07-13 13:37:29 +08:00
Boshen
cdaff8b7f1
refactor(linter): expose LintContext as the API for Linter::run
2023-07-07 22:16:03 +08:00
Boshen
e25f6e2dd4
chore(rust): rust cargo fmt and fix clippy warnings
2023-07-04 15:41:30 +08:00
Boshen
df3a2f2d9d
refactor(resolver): add oxc_resolver crate
2023-07-02 20:44:43 +08:00
Boshen
3b7e1fde89
chore(cli): run parser with allow_return_outside_function
...
because there are a lot of scripts that have top level return functions
2023-06-28 18:40:47 +08:00
Boshen
ab5ec99f65
fix(linter): fix error message when failed to read a file
2023-06-28 18:40:46 +08:00
Boshen
64d6103d25
fix(cli): change "Found X errors" to "Found X warnings"
2023-06-27 23:48:26 +08:00
Boshen
b8526e7363
chore(cli): change "Found X errors" to "Found X warnings"
...
Things linters report are warnings not errors.
2023-06-27 23:03:21 +08:00
Boshen
90004ba4be
fix(cli): print number of threads used by rayon instead of number of cores
2023-06-27 22:05:44 +08:00
Boshen
681df1ad1f
feat(cli): create a oxlint binary
...
closes #485
2023-06-27 21:55:07 +08:00
Maneren
b31819d7a1
feat(cli): Basic recursive implementation of module based linting ( #468 )
2023-06-23 08:26:05 +08:00
Ben
67a86063e9
Update to latest Ezno checker and more ( #463 )
2023-06-21 08:09:41 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate ( #460 )
2023-06-19 20:20:59 +08:00
Ben
304eaddb8f
feat(type): Add oxc_type_synthesis ( #413 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-07 23:52:58 +08:00
Boshen
14720e7c69
refactor: move SourceType from oxc_ast to oxc_span ( #351 )
...
related #350
2023-05-12 23:16:14 +08:00
Boshen
7f93e58f10
chore: remove all #[must_use]
2023-05-11 21:08:00 +08:00
Boshen
1004a1d197
chore: clean up workspace dependencies ( #320 )
2023-04-27 11:38:39 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files
2023-04-22 15:58:59 +08:00