Boshen
722a1c4df2
fix(ast): fix Serialization on ImportOrExportKind
2023-03-11 01:16:27 +08:00
yangchenye
1530b2695f
feat(oxc_linter): implement eslint(use-isnan) ( #161 )
2023-03-10 08:32:00 +08:00
Boshen
29c1ab9e59
chore: temporary ignore test for no_constant_binary_expression (unfinished)
2023-03-09 04:42:09 -08:00
Boshen
f9e6b17482
chore: add license of the "globals" library
2023-03-09 04:42:09 -08:00
Boshen
6acb08f054
feat(linter): implement no_constant_binary_expression
2023-03-09 04:42:09 -08:00
Boshen
5b8bdaabab
feat(linter): check IdentifierReference in javascript
2023-03-09 20:20:58 +08:00
Shannon Rothe
da8355f418
feat(rulegen): refactor to visitor pattern ( #162 )
...
* feat(rulegen): refactor to visitor pattern
* convert `parse_test_code` to visitor pattern
2023-03-09 17:33:30 +08:00
Boshen
185acc49bd
feat(linter): check BindingIdentifier in javascript
2023-03-09 01:27:14 -08:00
Boshen
4ea7ac373d
feat(linter): check Identifier in javascript
2023-03-09 01:27:14 -08:00
Boshen
4a582f0487
feat(linter): check WithStatement in javascript
2023-03-09 01:27:14 -08:00
Boshen
0fb8887d3c
feat(linter): check LabeledStatement in javascript
2023-03-09 01:27:14 -08:00
Boshen
26387c0660
feat(linter): check ContinueStatement in javascript
2023-03-09 01:27:14 -08:00
Boshen
fa8f685551
fix(coverage): fix broken typescript nagative conformance
2023-03-09 01:27:14 -08:00
Boshen
3e842667b1
feat(linter): check BreakStatement in javascript
2023-03-09 01:27:14 -08:00
Boshen
735b1241c4
feat(linter): check StringLiteral in javascript
2023-03-09 01:27:14 -08:00
Boshen
ed161cc38e
feat(linter): check PrivateIdentifier in javascript
2023-03-09 01:27:14 -08:00
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