Commit graph

836 commits

Author SHA1 Message Date
Boshen
b2e809812d
chore(benchmark): change to vscode repo with TypeScript 2023-06-25 00:22:54 +08:00
Boshen
93d087c928
chore(benchmark): update pnpm-lock.yaml 2023-06-24 23:30:07 +08:00
u9g
218683fa95
Document TemplateElementValue better (#473)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-24 22:08:53 +08:00
Yagiz Nizipli
3656802fd4
feat: add eslint no-setter-return rule (#434)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-24 22:08:41 +08:00
Maneren
b31819d7a1
feat(cli): Basic recursive implementation of module based linting (#468) 2023-06-23 08:26:05 +08:00
Wenzhe Wang
b8f5e3ad92
feat(minifier): try reduce void (#457) 2023-06-23 00:10:46 +08:00
Boshen
9b91d8391d
fix(website): update pnpm lock file 2023-06-22 10:54:36 +08:00
u9g
7c4e1d401a
feat(playground): Add IR view to playground (#467) 2023-06-21 22:35:55 +08:00
Boshen
42b97fc270 feat(linter): add suspicious and pedantic categories 2023-06-21 13:58:26 +08:00
Boshen
66d1c7b1de feat(linter): implement number_arg_out_of_range from deepscan 2023-06-21 13:58:26 +08:00
Boshen
0873733ae7 feat(linter): implement bad_remove_event_listener from deepscan 2023-06-21 13:58:26 +08:00
Boshen
1bb957bcf8 feat(linter): implement bad_min_max_func from deepscan 2023-06-21 13:58:26 +08:00
Boshen
4926130e5f refactor(linter): remove unwrap from bad_comparison_sequence 2023-06-21 13:58:26 +08:00
Boshen
45f3e4ee1a feat(linter): implement missing_throw from deepscan 2023-06-21 13:58:26 +08:00
Ben
67a86063e9
Update to latest Ezno checker and more (#463) 2023-06-21 08:09:41 +08:00
Wenzhe Wang
a5ccc7da30
feat(minifier): port undefined_comparison1 (#458) 2023-06-20 22:25:28 +08:00
Boshen
d7f9ca13bc
feat(ast_lower): mark assignment target identifiers as ReferenceFlag::Write
closes #465
2023-06-20 22:12:16 +08:00
Boshen
925cee20c1
feat(parser): parse TypeScript this function parameter (#464) 2023-06-20 21:56:28 +08:00
Boshen
993c171547
chore(ast): document ArrowExpression.expression 2023-06-20 21:54:13 +08:00
Boshen
19b839efe9
perf(semantic): use IndexVec instead of indextree for ast nodes (#462) 2023-06-20 15:21:58 +08:00
Boshen
1b39ce0745
refactor(linter): refactor valid_typeof to use without indextree sibling api 2023-06-19 20:46:53 +08:00
Boshen
527b94fba6
refactor(hir): use Cell for SymbolId instead of RefCell 2023-06-19 20:23:46 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate (#460) 2023-06-19 20:20:59 +08:00
Boshen
0d5db3d2f7
feat(benchmark): add bench semantic 2023-06-19 18:30:30 +08:00
Boshen
89ef3e18d3
Update README.md 2023-06-19 15:37:35 +08:00
Maneren
e591c62200
refactor(linter): replace phf_map with phf_set (#456) 2023-06-18 12:23:27 +08:00
Boshen
c4008d8014
perf(manger): use RefCell<SymbolId> instead of roundtrip with BTreeMap (#455) 2023-06-16 21:15:30 +08:00
u9g
c5a6b55bcd
chore(linter): Fix spelling mistake (#450)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-16 13:20:42 +08:00
Maneren
de9d4de276
feat(linter): Implement eslint(getter-return) (#449) 2023-06-16 10:09:33 +08:00
Wenzhe Wang
5d10f96051
feat(minifier): try fold unary expression (#430) 2023-06-16 00:08:14 +08:00
u9g
db624da84d
Reimplement more of the closure var rename step (#447)
Co-authored-by: Boshen <boshenc@gmail.com>

closes #442
2023-06-15 23:37:04 +08:00
Boshen
d0688d5964
ci: do not upload codecov from forks 2023-06-15 23:06:06 +08:00
u9g
631062514c
Fix confusing and/or incorrect condition in linter (#446) 2023-06-15 14:09:05 +08:00
u9g
ffa2895e5a
chore(minifier) Explain use of base 54/64 in mangler (#445)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-15 10:58:40 +08:00
Boshen
ab25bdebe4
deps: bump deps 2023-06-14 22:37:27 +08:00
Boshen
bad8bfcf16
ci: run conformance tests and bail if there are outdated snapshots (#444) 2023-06-14 21:44:10 +08:00
Boshen
478615a9c4
ci: check wasm (#443) 2023-06-14 13:33:09 +08:00
Boshen
a79480b078
feat(minifier): separate mangler pass (#439) 2023-06-14 10:46:13 +08:00
Boshen
166af12b9d
fix(parser): compile in wasm 2023-06-13 17:42:40 +08:00
Carter Snook
c0726e444f
feat(lexer): use linear lexing on WASM (#436)
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-13 15:18:02 +08:00
Boshen
243e48ac09
fix(coverage): make ignoring "literals/regexp" work on Windows 2023-06-13 14:31:59 +08:00
Boshen
57a2706c21
refactor(semantic): remove the unused mangler from oxc_semantic 2023-06-12 21:35:16 +08:00
Boshen
de403a297d
feat(hir): add enter_scope / leave_scope callbacks 2023-06-12 21:24:11 +08:00
Boshen
0dc6e025a1
refactor(semantic): move ScopeId and ScopeFlags to oxc_syntax 2023-06-12 21:10:38 +08:00
Boshen
dcb38f2277
refactor(semantic): move SymbolId and SymbolFlags to oxc_syntax 2023-06-12 20:55:16 +08:00
Carter Snook
a518bcbb3b
fix(tasks/rulegen): use correct Span import (#433) 2023-06-12 11:09:02 +08:00
Yagiz Nizipli
eff6e7c653
build: update rust toolchain channel (#432) 2023-06-12 11:08:37 +08:00
Carter Snook
985b8f21d9
feat: support hashbang interpreter comments (#431) 2023-06-11 23:55:58 +08:00
Boshen
12ae16a7f2
feat(hir): add visitor 2023-06-11 22:28:54 +08:00
Boshen
5c91fd54e3
feat(minifier): print [-In] Context (#428) 2023-06-11 16:44:48 +08:00