Commit graph

273 commits

Author SHA1 Message Date
Boshen
9d25f8cc26
ci: add typos 2023-03-11 23:38:56 +08:00
Boshen
c2f760f1ed
chore: run `types -w" to fix all typos 2023-03-11 23:37:19 +08:00
Boshen
109f551d72
chore: add crate-ci/typos 2023-03-11 23:36:29 +08:00
Boshen
d490ca7b31
chore(rust): bump deps 2023-03-11 23:26:45 +08:00
Boshen
7caaa04903
feat(cli): ignore files with min suffix 2023-03-11 23:02:38 +08:00
Boshen
99dbf8e946
feat(linter): use only correctness rules for now 2023-03-11 22:36:58 +08:00
Boshen
4585f11da3
chore(linter): enable the correctness rules that I want for alpha release 2023-03-11 22:18:11 +08:00
Boshen
00f4962669
chore(linter): enable no_constant_binary_expression
is_reference_to_global_variable should just return true for builtin types.
2023-03-11 21:40:40 +08:00
Boshen
b1e01d0774
feat(linter): check top level ModuleDeclaration 2023-03-11 21:09:03 +08:00
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