Commit graph

7114 commits

Author SHA1 Message Date
Boshen
5c2fea7702
feat(linter): check SwitchStatement in javascript 2023-03-11 20:26:50 +08:00
Boshen
021345173f
feat(linter): check expressions in javascript 2023-03-11 20:18:20 +08:00
Boshen
403682960f
feat(linter): check ForStatementLeft in javascript 2023-03-11 19:12:29 +08:00
Boshen
f22539e93f
feat(linter): check property 2023-03-11 19:12:28 +08:00
Boshen
82ef1f2944
feat(linter): check Super in javascript 2023-03-11 18:48:34 +08:00
Boshen
6c28948faf
feat(linter): check duplicate constructor in javascript 2023-03-11 18:34:05 +08:00
Xuan
9f3952cca3
feat(linter): add no_self_compare (#152) 2023-03-11 18:15:44 +08:00
Boshen
d5075a95e9
fix(linter): diagnostics should not print quotes 2023-03-11 17:44:27 +08:00
Boshen
a5f00e8e1c
refactor(oxc_ast): remove unnecessary SourceTypeBuilder 2023-03-11 16:21:14 +08:00
Boshen
f6bb7e90e7 fix(semantic): fix symbol_size test 2023-03-10 23:28:51 -08:00
Boshen
58e2741ec9 feat(semantic): bind Function name 2023-03-10 23:28:51 -08:00
Boshen
995e7c1767 feat(linter): bind CatchVariable 2023-03-10 23:28:51 -08:00
Boshen
34c0599db8 feat(semantic): bind FormalParameters 2023-03-10 23:28:51 -08:00
Boshen
323bb9a2b6 feat(semantic): bind VariableDeclarator 2023-03-10 23:28:51 -08:00
Boshen
b1e802cecc feat(semantic): bind Class 2023-03-10 23:28:51 -08:00
Boshen
5c8670d1c8 feat(semantic): declare symbol and reference Identifier 2023-03-10 23:28:51 -08:00
Boshen
1c24875067 feat(semantic): add basic symbol table 2023-03-10 23:28:51 -08:00
Boshen
be6fa2e7a0 chore(coverage): bump submodules 2023-03-10 23:28:51 -08:00
Boshen
2ee0b40656 chore: fix clippy warnings 2023-03-10 11:09:44 -08:00
Boshen
4cfcd9bf01 chore: use sparse crates.io registry 2023-03-10 11:09:44 -08:00
Boshen
75ad018110 chore: Rust v1.68.0 (nightly-2023-03-09) 2023-03-10 11:09:44 -08:00
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