Commit graph

1354 commits

Author SHA1 Message Date
Boshen
a9d36f158f
chore(benchmark): turn on all lints (#892)
closes #888
2023-09-10 23:16:39 +08:00
Boshen
f488e1f97f
feat(linter): eslint-plugin-import(no-cycle) (#890) 2023-09-10 22:58:45 +08:00
Wenzhe Wang
7a9f821b1d
chore: fix typo (#889) 2023-09-10 21:44:09 +08:00
Wenzhe Wang
9c46e7e7c5
perf(linter): early bail out if not jest fn (#885) 2023-09-10 17:05:57 +08:00
Don Isaac
35e18980dc
feat(linter): add typescript/no-explicit-any (#881)
Implements `no-explicit-any` from `typescript-eslint`. Replaces #519
since it appears abandoned.
2023-09-10 12:28:50 +08:00
u9g
5eb6196203
feat(website): Hide error panel when query view is shown (#884)
The error panel isn't updated when the query panel is in use, so it's
kind of akward to have an empty div taking up ~a quarter of the screen
if it's empty
2023-09-10 12:24:10 +08:00
u9g
35baf80e6b
fix(website): fix run_query call arguments (#880) 2023-09-10 10:53:49 +08:00
Boshen
9ff12a9696
feat(linter): eslint-plugin-import/no-self-import (#878)
closes #440 #441
2023-09-10 00:12:26 +08:00
Boshen
4e5f63a67d
feat(linter): implement re-exports (#877) 2023-09-09 18:28:49 +08:00
Boshen
1d03ec32ff
ci(benchmark): install toolchain first 2023-09-09 15:46:34 +08:00
Boshen
8ece5003a2
refactor(resolver): clean up load_alias (#875) 2023-09-09 15:32:32 +08:00
Boshen
7c8e6ab6f6
fix(parser): parse [+In] in object binding initializer (#874)
closes #873
2023-09-09 14:54:20 +08:00
Boshen
28f728f0c0
chore(fuzz): add --sanitizer none command 2023-09-09 12:15:57 +08:00
Boshen
ee805369ac
chore(fuzz): add nightly instructions 2023-09-09 12:01:29 +08:00
Boshen
a2dbfeeb25
refactor: clean up fuzzer, move it to repo root (#872) 2023-09-09 11:58:32 +08:00
Boshen
6fdea7224a
perf(resolver): avoid double hashing by memoizing the hash (#871) 2023-09-09 10:56:43 +08:00
Boshen
d161de95b6
perf(resolver): optimize canonicalize (#870) 2023-09-08 23:03:39 +08:00
Boshen
86eb486a2f
perf(resolver): cache node_modules lookup (#869) 2023-09-08 20:23:01 +08:00
Boshen
a6db5e696c
chore(resolver): add more alias data to benchmark (#868) 2023-09-08 00:08:26 +08:00
Wenzhe Wang
f93c8616e4
feat: add jest/no-interpolation-in-snapshots rule (#867) 2023-09-07 23:50:09 +08:00
Boshen
1b8e2c0e25 feat(linter): add eslint-plugin-import/named 2023-09-07 22:56:09 +08:00
Boshen
a358856da3 feat(linter): add current_working_directory to tester 2023-09-07 22:56:09 +08:00
Boshen
5f7a9c687c chore(linter): add fixtures for import plugin 2023-09-07 22:56:09 +08:00
Boshen
75d928a20d feat(syntax): add loaded_modules to ModuleRecord 2023-09-07 22:56:09 +08:00
Boshen
9ee75931ed feat(linter): add rule_path to tester so the file extension can be changed 2023-09-07 22:56:09 +08:00
Boshen
0a99ad4953
fix(playground): fix lzma import 2023-09-07 16:23:59 +08:00
Boshen
5bbad73db5
feat(resolver): tsconfig project references (#862)
closes #751
2023-09-07 14:01:48 +08:00
Maneren
58f4e234da
fix(website): incorrect import (#863)
This was a fun one. 1) It worked fine in dev but failed in release and
2) the fix is importing the original file instead of a minified one. I
love JS.
Fixes #699, this time hopefully for good
2023-09-07 10:29:04 +08:00
Wenzhe Wang
9679ca754c
feat(linter): add eslint-plugin-jest/no-done-callback rule (#846) 2023-09-06 22:10:45 +08:00
Boshen
ee54575ec1
feat(linter): add runner for import-plugin (#858) 2023-09-06 14:54:19 +08:00
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