Commit graph

1057 commits

Author SHA1 Message Date
Boshen
ad51157ea9 fix(linter): make disable directives work with plugin rule names 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
Devin-Yeung
72afdf6d19
feat(linter): eslint/no-loss-of-precision (#649)
Close #613
2023-07-28 20:59:20 +08:00
Boshen
fc0a4110d4
chore: update .git-blame-ignore-revs 2023-07-28 13:57:29 +08:00
Boshen
217997bd7c
chore(rust): run cargo fmt --all -- crates/**/*.rs 2023-07-28 13:57:12 +08:00
SoonIter
786cf8252f
feat(linter): implement no-global-assign (#624)
closes #598
2023-07-28 10:20:38 +08:00
Boshen
6631336f5c
feat(resolver): implement more of exports field (#648) 2023-07-28 10:19:29 +08:00
Boshen
5e0edf14fe
ci: remove accident push trigger from website.yml 2023-07-27 18:25:17 +08:00
Boshen
252d3342a1
feat(linter): add a run_once callback (#647)
For situations where you want to inspect the scopes and trivias.
2023-07-27 18:15:15 +08:00
Boshen
b338f5f53d
ci: ignore more crates from when running benchmark 2023-07-27 18:11:37 +08:00
Boshen
a760068eef
chore(Cargo.toml): update homepage link 2023-07-27 14:16:58 +08:00
Boshen
14164b22ed
chore(oxc): remove mention of nightly 2023-07-27 14:14:56 +08:00
Boshen
b52ec3f344
ci: remove cargo-udeps 2023-07-27 14:09:42 +08:00
Boshen
df90bf21ec
chore: update MAINTAINANCE.md 2023-07-27 14:09:39 +08:00
Boshen
1012d8300c
chore: release crates as v0.1.0 2023-07-27 13:54:17 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories 2023-07-27 13:33:18 +08:00
Boshen
45c1650631
chore(oxc_query): do not publish yet, it is not ready 2023-07-27 13:17:33 +08:00
Boshen
26fc0cfde5
ci: on run conformance on certain crate changes 2023-07-27 13:12:12 +08:00
Boshen
1eacd51cb0
ci: make the website a nightly trigger 2023-07-27 13:12:11 +08:00
Boshen
53370e3487
ci: add a job name to auto-labeler 2023-07-27 13:12:11 +08:00
Boshen
fa82f940f0 chore: stable Rust
closes #626
2023-07-27 13:11:46 +08:00
Boshen
449120e29e chore: update .git-blame-ignore-revs to ignore previous format commits 2023-07-27 13:11:46 +08:00
Boshen
b34ef4f07a chore: reformat 2023-07-27 13:11:46 +08:00
Boshen
9cb34e0021 chore(rustfmt): disable all unstable format options 2023-07-27 13:11:46 +08:00
Boshen
608ee9116b
refactor(parser): remove portable simd because it is not stable Rust (#645)
related #626
2023-07-27 12:43:11 +08:00
Boshen
f2df32d1c0
fix(taplo): adjust the include glob so it doesn't time out searching for files 2023-07-27 12:30:34 +08:00
u9g
34f25b7067
feat(query): adapter invariant test (#644)
Checks for invariants in the adapter that would certainly error out real
usage, doesn't actually use the data provided to the adapter
2023-07-26 23:59:02 -04:00
u9g
5b0449507e
chore(query): move tests to their own file (#643) 2023-07-27 03:41:55 +00:00
Sg
453edd27eb
feat(linter): eslint/no-empty-character-class (#635)
closes #559
2023-07-27 11:32:43 +08:00
u9g
451667acfc
feat(query): impl ASTNode for VariableDeclarationAST (#639)
also changes from using entire_span to just span so we don't have to
have two properties point at the same span
2023-07-27 11:30:15 +08:00
阿良仔
d8bfe148ba
refactor(linter): remove Box::leak (#641) 2023-07-27 11:29:59 +08:00
u9g
997eb26d3e
feat(query): impl Typename for VariableDeclaration (#638) 2023-07-27 09:46:49 +08:00
Matthew "strager" Glazar
318d55806f refactor: format code
Removing uses of let_chains now allows rustfmt to format some files.
Run 'cargo fmt' to reformat these files.
2023-07-27 09:44:57 +08:00
Matthew "strager" Glazar
ad00720d75 refactor: avoid unstable let_chains
The let_chains Rust feature is unstable, preventing Oxc from using a
stable Rust compiler. Refactor the code to avoid let_chains.
2023-07-27 09:44:57 +08:00
Sg
2203d08199
refactor: remove unstable feature slice_as_chunks (#632) 2023-07-26 19:21:35 +08:00
Sg
fbb8aa3338
refactor: remove unstable feature const_trait_impl & const_slice_index & slice_group_by (#629) 2023-07-26 17:37:09 +08:00
Boshen
32b8ad2b57
feat(resolver): initialize implementation of package.json exports field (#630) 2023-07-26 16:54:54 +08:00
u9g
1d504ac94a
Add oxc_query crate (#625) 2023-07-26 13:03:00 +08:00
Boshen
35adc65aed
Update CONTRIBUTING.md 2023-07-26 12:30:21 +08:00
Boshen
b78b1ebdca
perf(resolver): reduce memory allocation when resolving node_modules (#608) 2023-07-25 20:06:44 +08:00
Boshen
f094d5881e
perf(resolver): hash once for the get + insert case (#606) 2023-07-25 16:47:17 +08:00
Boshen
1d7f171309
refactor(resolver): use DashSet for the cache (#605) 2023-07-25 15:17:07 +08:00
Shannon Rothe
21f8abe273
feat(cli): add support for TIMING env var (#535) 2023-07-25 11:14:36 +08:00
Boshen
108bdbbdae
deps(rust): bump with cargo upgrade --incompatible 2023-07-24 23:24:31 +08:00
Boshen
5b23ab30b0
perf(resolver): allocate less when resolving extensions (#603) 2023-07-24 21:04:44 +08:00
Boshen
e80274b61a
fix(website): fix base url 2023-07-24 21:01:16 +08:00
Boshen
eafad4dfd1
perf(resolver): reduce the total number of hashes by passing the cached value around (#602) 2023-07-24 20:42:09 +08:00
Boshen
3cda165af7
perf(resolver): do not read package_json of a file (#601) 2023-07-24 15:49:41 +08:00
Boshen
b21b3b8528
chore(resolver): add a alias test and check resolution is the same in benchmark (#600) 2023-07-24 15:35:10 +08:00
Boshen
70d34f74e0
Update README.md 2023-07-24 11:13:42 +08:00