Commit graph

360 commits

Author SHA1 Message Date
Cameron
3af35b8048
feat(linter) eslint-unicorn catch error name (#984) 2023-10-12 11:06:46 +01:00
Boshen
eaa0c58e24
feat(linter): eslint-plugin-unicorn(filename-case) (#978) 2023-10-11 15:23:17 +08:00
Boshen
ef8aaa7bf1
feat(minifier): re-enable mangler (#972) 2023-10-10 14:32:58 +08:00
cin
205f66bfbf
feat(linter): add jest/no-confusing-set-timeout (#938) 2023-10-09 07:37:40 -05:00
Boshen
0fcad27515 use enter / leave scope from ast visit in SemanticBuilder 2023-10-09 09:59:14 +08:00
Wenzhe Wang
90828c4d39
feat(linter): add eslint(jest/valid-title) rule (#966) 2023-10-09 07:37:31 +08:00
Boshen
a710e73cd9
fix(linter): fix clippy 2023-10-07 17:19:44 +08:00
Wenzhe Wang
7a62d4bdbc
feat(linter): add jest/no-identical-title rule (#957)
https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-identical-title.md
2023-10-07 17:11:53 +08:00
Boshen
817f8c295e
ci: turn off doc tests because they are slow to compile and run (#961) 2023-10-07 17:01:23 +08:00
Boshen
5045853b9a
Rust 1.73.0 (#958) 2023-10-06 17:56:14 +13:00
Wenzhe Wang
812baeb217
feat(linter): add eslint(jest/valid-expect) rule (#941) 2023-10-04 22:06:12 -05:00
Cameron
69f2364e2a
feat(linter) Add ban_types typescript eslint rule (#953)
Part of #503 -> `@typescript-eslint/ban-types`
2023-10-04 10:52:54 +13:00
Boshen
85b113d751
fix(linter): improve error span for no-thenable 2023-09-30 00:08:04 +13:00
Boshen
982ae9b930
feat(linter): improve help message of no-thenable 2023-09-29 23:51:41 +13:00
Boshen
39e4efb2c0
chore(linter): move no-redeclare to nursery 2023-09-29 23:46:52 +13:00
Boshen
2440ec712f
fix(no_control_regex) fix panic on multi-byte regex chars
authored by @camc314
closes #934
closes #935
2023-09-29 22:36:20 +13:00
cin
24539545a9
feat(linter): add no-redeclare rule. (#683)
Close: #615 #520 
Rule: [Docs](https://eslint.org/docs/latest/rules/no-redeclare)
2023-09-23 23:54:54 +12:00
Wenzhe Wang
d700cf899c
feat(linter): add eslint(jest/no-standalone-expect) (#931) 2023-09-22 23:41:46 +12:00
Wenzhe Wang
e2a49271ac
feat(linter): add eslint(jest/no-export) (#925) 2023-09-17 22:40:29 +08:00
Wenzhe Wang
eec9fd433a
feat(linter): add eslint(jest/no-mocks-import) (#924) 2023-09-17 20:11:52 +08:00
Boshen
5863f8ffdb
feat(transformer): logical assignment operators (#923) 2023-09-16 23:54:53 +08:00
Devin-Yeung
4bf329e1cf
feat(linter): implement eslint-plugin-unicorn/no-thenable rule (#910)
related to #684
2023-09-16 18:10:49 +08:00
Wenzhe Wang
91784515f0
feat(linter): add eslint-plugin-jest/no-jasmine-globals (#914) 2023-09-15 23:57:40 +08:00
Todor Andonov
dd74d93ac9
feat(linter): add no-console rule (#887)
implements #864
2023-09-14 19:15:09 +08:00
Wenzhe Wang
8c44a9e05a
feat(linter): add eslint-plugin-import/default (#895) 2023-09-14 16:18:40 +08:00
Boshen
babbc47d61
perf(parser): lazily build trivia map instead of build in-place (#903)
closes #898
2023-09-12 23:23:56 +08:00
Boshen
f488e1f97f
feat(linter): eslint-plugin-import(no-cycle) (#890) 2023-09-10 22:58:45 +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
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
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
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
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
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
Wenzhe Wang
f7232ed9e7
chore(linter): move all jest rules to restriction (#854) 2023-09-04 22:03:24 +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
91f4896247
refactor(linter): clean up Test a bit 2023-09-03 15:36:46 +08:00
Devin-Yeung
a969f69627
perf(linter): parse ts-directive manually (#845) 2023-09-03 14:13:16 +08:00
Boshen
6f270f1198
perf(linter): swap the order of checks for no_caller (#844) 2023-09-03 10:19:27 +08:00