Commit graph

611 commits

Author SHA1 Message Date
阿良仔
c09678a48f
test: add tests for null comparison (#548) 2023-07-14 23:25:25 +08:00
Boshen
789626e01c
perf(resolver): add file system cache (#547) 2023-07-14 16:02:13 +08:00
Boshen
4132b294ca
refactor(resolver): add our own path util for normalization 2023-07-14 14:34:48 +08:00
Boshen
d92c834956
fix(resolver): fix resolver benchmark 2023-07-14 12:38:10 +08:00
Boshen
ca4d2fa248
feat(resolver): resolve as module (#544) 2023-07-14 11:59:22 +08:00
Don Isaac
3ab9ae121d
refactor(cli): Runners (#533) 2023-07-14 11:39:23 +08:00
Boshen
38e11956be
chore(rust): rust version 1.71.0 nightly 2023-07-13 23:10:10 +08:00
Boshen
4d187ce963
feat(resolver): resolve js file (#543) 2023-07-13 18:04:00 +08:00
Boshen
a9debc9fdb
feat(resolver): add resolver test fixtures (#542) 2023-07-13 13:37:29 +08:00
阿良仔
db3ef449fc
test(minifier): add tests for bigint string comparison (#541) 2023-07-13 11:44:03 +08:00
阿良仔
976059d418
feat: implement GetSpan for ForStatementLeft (#540) 2023-07-11 22:11:07 +08:00
阿良仔
f0495ef924
feat(minifier): fold string number comparison (#538) 2023-07-11 21:50:51 +08:00
vagusX
357b28eb96
fix: no return await error (#539) 2023-07-11 17:32:26 +08:00
阿良仔
2d984f0401
feat(minifier): fold bigint number comparison (#536) 2023-07-10 23:11:28 +08:00
阿良仔
4b566c0164
feat(linter): implement no-test-prefixes (#531) 2023-07-10 20:14:42 +08:00
Don Isaac
fd899be4a9
feat(minifier): compress undefined variable declarations (#532) 2023-07-10 10:33:42 +08:00
Don Isaac
0346adb1eb
feat(linter): add eslint/no-control-regex (#516) 2023-07-10 10:20:57 +08:00
vagusX
5d670943f9
feat(linter): implement eslint rule no-return-await (#529) 2023-07-09 20:39:11 +08:00
Wenzhe Wang
1b6fa7b5e0
feat(linter): no disabled tests(eslint-jest-plugin) (#507) 2023-07-09 18:19:43 +08:00
EliLichtblau
fa183f6a4b
typescript-eslint/no this alias (#526)
Co-authored-by: eli lichtblau <elilichtblau@elis-MacBook-Pro.local>
2023-07-09 16:22:38 +08:00
Boshen
cdaff8b7f1
refactor(linter): expose LintContext as the API for Linter::run 2023-07-07 22:16:03 +08:00
阿良仔
1aaeb794a4
feat(linter): implement no-misused-new (#525) 2023-07-07 16:00:06 +08:00
u9g
6614b46f26
Visit jsx_element in ast visitor and add to astkind (#524) 2023-07-07 12:36:52 +08:00
Boshen
d93e96f92f
Release oxc v0.0.7 2023-07-06 15:45:09 +08:00
Boshen
2e32140450
publish: bump all crates to v0.0.7 2023-07-06 14:27:13 +08:00
Boshen
19c68c8c57
chore(Cargo): change how crates are version and published
Let's publish everything under `oxc` instead of individual crates
2023-07-06 14:14:29 +08:00
Boshen
8aba8bcbb5
feat(oxc): a single oxc crate (#522) 2023-07-06 13:35:25 +08:00
u9g
974dfa027f
Implement GetSpan for JSXExpression 2023-07-06 00:27:57 -04:00
阿良仔
be13f980bb
chore(napi): provide a more precise type for source_type (#521) 2023-07-06 10:52:41 +08:00
Boshen
6428139b76
fix(parser): fix re_lex_jsx_identifier not omitting whitespaces
closes #518
2023-07-05 12:53:21 +08:00
u9g
ed9f67d263
Add examples to JSXElementName (#515) 2023-07-05 00:13:53 +08:00
u9g
4d71784b94
Implement GetSpan for JSXAttributeItem (#514) 2023-07-05 00:13:36 +08:00
Boshen
bc0b69e5e7
chore(rust): fix clippy 2023-07-04 16:09:51 +08:00
Boshen
e25f6e2dd4
chore(rust): rust cargo fmt and fix clippy warnings 2023-07-04 15:41:30 +08:00
Don Isaac
e87445cc1a
hotfix: remove panic! from binding resolution (#512) 2023-07-04 14:52:52 +08:00
Boshen
17a73b1eef
refactor(ast): move ModuleRecord to oxc_syntax 2023-07-03 22:54:27 +08:00
Don Isaac
8fdb6b63ce
feat: add eslint/no-obj-calls (#508) 2023-07-03 13:15:07 +08:00
Boshen
df3a2f2d9d
refactor(resolver): add oxc_resolver crate 2023-07-02 20:44:43 +08:00
Luke Edwards
9b257a2b3d
linter: add texts for eslint(no-cond-assign) rule (#505)
* fix: add texts for eslint(no-cond-assign) rule

* chore: update snapshot
2023-07-02 01:07:24 +08:00
Boshen
a2809bf5c2
feat(linter): implement @typescript-eslint/no-unnecessary-type-constraint 2023-07-01 21:35:09 +08:00
Boshen
2e6cb6d3d2
feat(linter): implement @typescript-eslint/no-empty-interface 2023-07-01 21:09:16 +08:00
Boshen
83f69b1c61
feat(linter): implement @typescript-eslint/no-non-null-asserted-optional-chain 2023-07-01 20:28:59 +08:00
Boshen
7f300f86b0
feat(linter): implement @typescript-eslint/no-extra-non-null-assertion 2023-07-01 19:28:58 +08:00
Boshen
13290f8612
chore(linter): port @typescript-eslint/no-dupe-class-members tests 2023-07-01 18:40:42 +08:00
Boshen
3ec297454d
refactor(linter): improve span for no-case-declarations 2023-07-01 16:55:33 +08:00
Boshen
3b22992339
refactor(linter): remove redundant backticks from no-constant-binary-expression's error message 2023-07-01 16:36:40 +08:00
Boshen
478887583d
chore(linter): move no_unsafe_optional_chaining to restriction 2023-07-01 16:34:52 +08:00
Boshen
f9aeebd105
fix(linter): fix no_useless_escape crashing on unicode boundaries 2023-07-01 16:29:41 +08:00
Boshen
4085a95acb
feat(linter): implement no-prototype-builtins 2023-07-01 15:24:55 +08:00
Boshen
92508115c6
feat(linter): implement no-useless-escape 2023-07-01 14:58:18 +08:00