Boshen
44675e8cd8
feat(coverage): add always_strict mode for test262
2023-03-09 01:27:14 -08:00
Boshen
f13640e1c2
feat(linter): check NumberLiteral in javascript
2023-03-09 01:27:14 -08:00
Boshen
4e0d785b25
feat(linter): add infrastructure for handling early errors
2023-03-09 01:27:14 -08:00
Yoni Feng
8f26b9932a
perf(semantic): use faster indextree building ( #122 )
2023-03-09 17:20:41 +08:00
yangchenye
bc2c175472
chore(rule_generator): preserve escaped string in test code ( #160 )
2023-03-09 12:07:55 +08:00
yangchenye
1ea463e0bb
feat(oxc_linter): implement eslint(no-mixed-operators) ( #145 )
2023-03-09 00:05:44 +08:00
Boshen
e1971577cb
fix(oxc_macros): fix clippy warnings
2023-03-08 23:35:34 +08:00
Boshen
2045a326be
ci: update cargo bloat and add cargo-unused ( #158 )
...
* ci: try strip symbols from std
* ci: add cargo-unused
* ci(bloat): fix the command
stripping debug symbol from std is not working with nightly + target
2023-03-08 22:16:38 +08:00
Boshen
1651ffeabc
ci: disable macos benchmark, too unstable
2023-03-08 22:05:04 +08:00
Boshen
94fdd54368
perf(lexer): fine tune identifier checking with less redundant branches ( #154 )
...
perf(lexer): fine tune checking of identifiers with less redundant branches
2023-03-08 22:00:15 +08:00
Domon
be2231b689
fix: fix wasm-pack build crash ( #156 )
2023-03-08 19:00:40 +08:00
Xuan
158a79eba5
refactor(fixer): add span to message ( #146 )
...
* refactor(fixer): add span to message
* refactor(fixer): use error.labels() to sort
* fix(fixer): make clippy happy
* refactor(fixer): use sort_by_cached_key
2023-03-08 15:36:05 +08:00
yangchenye
b76ffb4826
feat(rule_generator): generate test options ( #150 )
2023-03-08 11:02:01 +08:00
Amit Dahan
2687d7868f
refactor(linter): add declare_all_lint_rules proc macro ( #121 )
2023-03-07 07:39:38 -08:00
Boshen
3562a49592
chore(coverage): print negative tests; enable decorators; update to the latest remote
2023-03-07 23:37:00 +08:00
Boshen
2f2c133017
fix(coverage): fix broken snapshot
2023-03-07 21:32:55 +08:00
Boshen
4d32bfb55e
refactor: remove all declarations of const fn, which is useless for us
2023-03-07 21:29:47 +08:00
Boshen
711354a40b
chore(rust): allow clippy::missing_const_for_fn
2023-03-07 21:29:47 +08:00
Shannon Rothe
11237f3cbd
feat(linter): implement eslint(constructor-super) ( #126 )
2023-03-07 18:22:58 +08:00
Shannon Rothe
0f7edfb003
feat(rule_generator): automatically generate rules and tests ( #142 )
2023-03-07 18:21:58 +08:00
Boshen
6b9bbaa091
perf(lexer): try &static Atom for match_keyword ( #143 )
...
* perf(lexer): try phf_map for `match_keyword`
* wip
2023-03-07 13:14:22 +08:00
Shannon Rothe
2423257573
feat(linter): implement eslint(eqeqeq) rule ( #124 )
...
* feat(linter): implement `eslint(eqeqeq)` rule
* chore: improve comment
* better errors
* regenerate snapshots
* add nursery lint category
2023-03-07 06:26:41 +08:00
Shannon Rothe
b3dfb0ab51
chore(linter): remove extra spacing ( #141 )
2023-03-07 06:25:14 +08:00
Boshen
d4a10e3fac
fix(linter): fix clippy warning
2023-03-06 06:29:18 -08:00
Boshen
c8e968f35d
perf(ast): shrink some struct sizes
...
relates #138
2023-03-06 06:29:18 -08:00
Boshen
e20c60d961
ci(benchmark): increase measurement time
2023-03-06 21:46:16 +08:00
Xuan
d833672023
test(fixer): remove BOM testing ( #137 )
2023-03-06 18:50:21 +08:00
Boshen
c5dea20e1d
fix(oxc_wasm): remove wee_alloc dependency; fix profile warning
2023-03-06 14:50:02 +08:00
Domon
24d327c40d
feat(wasm): add wasm to oxc ( #130 )
2023-03-06 14:13:06 +08:00
yangchenye
500f42b134
feat(oxc_linter): implement eslint(for-direction) ( #136 )
...
feat(oxc_linter): implement eslint(for-direction)
2023-03-06 13:49:18 +08:00
Boshen
683778dfe2
feat(semantic): implement scopes ( #135 )
...
closes #119
2023-03-05 07:43:32 -08:00
Boshen
cb886d8a36
refactor(benchmark): make the benchmark run faster by using variable measurement time
2023-03-05 23:19:51 +08:00
Boshen
8dfb50642d
ci: release with debug symbols stripped from std
2023-03-05 22:33:14 +08:00
Boshen
5faae992b2
ci: add cargo-unused
2023-03-05 22:29:26 +08:00
Boshen
2f9e3832a0
chore(rust): bump deps
2023-03-05 04:51:00 -08:00
Boshen
43467b19e9
ci: write benchmark action summary
2023-03-05 04:51:00 -08:00
Shannon Rothe
d6b52167d3
feat(linter): implement rule categories ( #131 )
2023-03-05 04:14:24 -08:00
Fnll
81760da7cc
feat(parser): better diagnostic for missing semicolon in for loop statement ( #133 )
...
feat(parser): better diagnostic
Co-authored-by: kerui.lian <kerui.lian@bytedance.com>
2023-03-05 04:13:23 -08:00
Boshen
d1bfe9ab16
ci: add summary to bloat command ( #132 )
2023-03-05 04:12:05 -08:00
Boshen
4a8abca2d1
ci: fix bloat command
2023-03-05 16:05:47 +08:00
Boshen
57b3fbf899
ci: fix cargo bloat --profile
2023-03-05 16:03:00 +08:00
Boshen
1031755fdb
chore(rust): add release-debug mode
2023-03-05 15:57:53 +08:00
Boshen
16b99e7205
ci: make cargo print less logs
2023-03-05 15:51:51 +08:00
Boshen
dee5d00ae2
ci: add manual cargo bloat action
2023-03-05 15:41:54 +08:00
Boshen
7db95f0b33
refactor(ci): remove useless submodules: false from actions/checkout
2023-03-05 15:37:07 +08:00
Boshen
99f5465403
chore(cargo): add --all-features to cargo lint
2023-03-05 15:21:38 +08:00
Boshen
0a9ab3ed4c
feat(cli): print miette diagnostics with 4 spaces indentation
2023-03-05 15:19:59 +08:00
Boshen
94fddffc70
chore: use fancy-no-backtrace from miette
...
See https://github.com/zkat/miette/issues/132
2023-03-05 15:16:26 +08:00
Boshen
7d3ce8b125
feat(benchmark): add semantic builder to benchmark ( #129 )
2023-03-04 23:09:19 -08:00
Shannon Rothe
b9be065c8c
feat(cli): introduce pretty errors ( #111 )
2023-03-04 20:40:07 -08:00