Commit graph

1324 commits

Author SHA1 Message Date
Boshen
8e0876ebbc
Release oxlint v0.0.12 2023-09-06 11:47:31 +08:00
Boshen
2c8fdbdba1
chore(linter): add linter name to all diagnostics 2023-09-06 11:33:43 +08:00
Boshen
2b60b8a289
fix(linter): fix incorrect behaviour for "-D correctness -A rule-name" 2023-09-06 11:16:07 +08:00
Boshen
b89e931b33
fix(cli): spawn linting in another thread so diagnostics can be printed immediately 2023-09-06 10:21:32 +08:00
Maneren
db95503f09
feat(website): lzma compress the code in url (#861)
Fixes #699
2023-09-05 19:58:24 +08:00
Boshen
b8808a81cf
feat(cli): use parallel walker for directory traversal (#860) 2023-09-05 15:17:44 +08:00
u9g
ed60c106b4
fix(query): fix UnaryExpression.operator (#859) 2023-09-05 06:04:14 +00:00
Devin-Yeung
286049b17b
feat(linter): implement unicorn/no-unnecessary-await (#856)
related to #684
2023-09-04 23:04:51 +08:00
Wenzhe Wang
be1be2e13c
chore(linter): change no-disabled-tests error message's position (#857) 2023-09-04 23:03:39 +08:00
Boshen
1d83c561f2
chore(just): add just example tool for running examples 2023-09-04 22:22:06 +08:00
Boshen
812a2e9337
fix(formatter): add whitespace around binary operators
closes #855
2023-09-04 22:07:57 +08:00
Wenzhe Wang
f7232ed9e7
chore(linter): move all jest rules to restriction (#854) 2023-09-04 22:03:24 +08:00
Boshen
4ada0ecbb8
chore(resolver): add more benchmark data (#853) 2023-09-04 22:02:48 +08:00
dependabot[bot]
5defa2fa96
chore(deps): bump the dependencies group with 6 updates (#852) 2023-09-04 15:46:27 +08:00
Boshen
0c6073203d
chore(dependabot): ignore some pinned dependencies 2023-09-04 15:23:57 +08:00
Boshen
bcc069e847
Release oxc_resolver v0.1.0 2023-09-04 14:45:29 +08:00
Boshen
a47fb35c0e
fix(resolver): fix collision on hash entries (#850) 2023-09-04 14:04:39 +08:00
Yunfei He
5bf9dddaec
refactor(resolver): remove unnecessary RefCell (#849) 2023-09-04 13:27:22 +08:00
Wenzhe Wang
8588f8b9c6
chore(linter): downgrade category of expect-expect and no-alias-methods (#848)
There are too many errors(7000+) in vscode repo, so downgrade this rule.

And I think
[no-alias-methods](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-alias-methods.md)
is also too strict when it is placed in [style
config](https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#style),
so change it also.
2023-09-03 18:28:40 +08:00
Boshen
6706541049
refactor(linter): remove complicated linter service setup 2023-09-03 18:14:05 +08:00
Boshen
415326d37c
chore: add Performance Turing section in CONTRIBUTING.md 2023-09-03 16:58:45 +08:00
Boshen
b9bd5ff7ab
refactor(cli): collect all the paths before linting 2023-09-03 16:36:02 +08:00
Boshen
deb50e1a25
chore(semantic): return Arc<ModuleRecord> from semantic 2023-09-03 15:41:11 +08:00
Boshen
91f4896247
refactor(linter): clean up Test a bit 2023-09-03 15:36:46 +08:00
Boshen
ba54eb67b3
chore(semantic): use Arc<ModuleRecord> 2023-09-03 15:29:00 +08:00
Boshen
aa7b665fe9
feat(resolver): add thiserror (#847) 2023-09-03 14:50:31 +08:00
Devin-Yeung
a969f69627
perf(linter): parse ts-directive manually (#845) 2023-09-03 14:13:16 +08:00
Boshen
73be3eab4c
chore: update lock file 2023-09-03 13:51:28 +08:00
Boshen
93adc9b9c2
Release oxc v0.1.3 2023-09-03 12:22:05 +08:00
Boshen
37bf4c4421
Release oxc v0.1.2 2023-09-03 11:30:44 +08:00
Boshen
7bcf2d7c43
chore(oxc): add features for semantic, formatter and minifier 2023-09-03 11:28:20 +08:00
Boshen
6f270f1198
perf(linter): swap the order of checks for no_caller (#844) 2023-09-03 10:19:27 +08:00
Yunfei He
815db57a25
fix(semantic): symbol of identifier of top level function declaration should be in the root scope (#843)
---------

Co-authored-by: Boshen <boshenc@gmail.com>
2023-09-03 10:16:47 +08:00
Boshen
da44fd8999
feat(benchmark): add linter benchmark (#842) 2023-09-03 09:55:01 +08:00
Boshen
d25355c9e8
perf(lexer): reduce an extra branch from peek (#841) 2023-09-03 00:02:42 +08:00
Boshen
53b094e46c
chore: clean up deps (#840) 2023-09-02 21:34:24 +08:00
Boshen
2ba18e073c
fix(benchmark): use different data sets for benchmark and minifier test 2023-09-02 20:56:45 +08:00
Boshen
56aaf31fb1
refactor(benchmark): use codspeed for all benchmarks (#839) 2023-09-02 20:35:48 +08:00
Boshen
e4a3838ecb
chore(resolver): benchmark with codspeed (#838) 2023-09-02 18:27:37 +08:00
Boshen
82e64f8527
ci: remove codecov from PRs
Because we don't use this metric when review PRs.
It also runs too slow for our PRs.
2023-09-02 17:57:23 +08:00
Boshen
6ed57532cd
fix(resolver): fix a case where ignored package has a fallback (#837) 2023-09-02 17:22:35 +08:00
Boshen
7f504961ec
fix(resolver): fix a case where an alias is part of a dashed package name (#836) 2023-09-02 16:37:07 +08:00
Boshen
43820e2e9b
fix: remove features selection from regex
It is somewhat impossible to remove unicode support since some
third-party crates depend on them.
2023-09-02 15:12:26 +08:00
Boshen
9724365862
refactor(resolver): remove nodejs_resolver comparison
we no longer need to compare with nodejs_resolver
2023-09-02 15:12:26 +08:00
Boshen
bebdbfb9a6
feat(resolver): add tracing example 2023-09-02 15:12:25 +08:00
Boshen
5b98bf42b5
deps: remove regex support from env_logger 2023-09-02 15:12:25 +08:00
Boshen
d74da2f3bf
fix(resolver): fix cases with conflicting node_modules path (#835) 2023-09-02 14:45:10 +08:00
Wenzhe Wang
fa1d7da090
feat(linter): add eslint-plugin-jest/no-conditional-expect rule (#832)
port
[no-conditional-expect](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-conditional-expect.md)
2023-09-02 14:37:15 +08:00
Boshen
6ae6532245
fix(resolver): add test case for resolve_to_context (#834) 2023-09-02 12:03:07 +08:00
Boshen
47a076c226
feat(resolver): add an option to turn off builtin_modules (#833) 2023-09-02 11:38:03 +08:00