Commit graph

914 commits

Author SHA1 Message Date
Wenzhe Wang
a0eba67ad9
feat(tasks): support init jest lint rule (#513) 2023-07-04 14:53:29 +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
Boshen
0419720c96
chore: update README 2023-07-02 12:02:40 +08:00
Boshen
f32ea0e294
chore(README): add eslint-plugin-import and eslint-plugin-jest licenses 2023-07-02 11:28:38 +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
655f155593
Release oxlint v0.0.6 2023-07-01 21:50:23 +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
a5b4f8bec1
Release oxlint v0.0.5 2023-07-01 17:13:14 +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
Boshen
1aa112917a
feat(linter): implement no-inner-declarations 2023-07-01 13:58:50 +08:00
Boshen
c5402c1cae
feat(linter): implement no-import-assign (nursery) 2023-07-01 11:20:31 +08:00
Boshen
b80329abed
chore(linter): add doc info to no_dupe_else_if 2023-07-01 10:03:00 +08:00
Boshen
2f8f9746aa
feat(linter): implement no-dupe-else-if 2023-07-01 09:59:03 +08:00
Boshen
bb9838aaec
feat(linter): implement no-cond-assign 2023-07-01 01:41:11 +08:00
Boshen
9d16e688e7
feat(linter): implement no-self-assign 2023-07-01 00:20:45 +08:00
Boshen
230f1d3dfe
feat(linter): implement no-unsafe-finally 2023-06-30 23:05:58 +08:00
Boshen
553af9b87b
feat(linter): implement no-unsafe-optional-chaining 2023-06-30 22:32:17 +08:00
Boshen
ecdd7bc33b
fix(linter): fix error message for no_dupe_keys 2023-06-30 18:34:52 +08:00
Boshen
af3ae9b803
feat(linter): implement no-useless-catch 2023-06-30 18:34:52 +08:00
Boshen
0aed9c33ef
chore(linter): demote getter_return to nursery
Related: #497
2023-06-30 16:44:33 +08:00
Boshen
06764f8574
chore(tasks): add swc-7187 test case 2023-06-30 16:41:52 +08:00
Predrag Gruevski
e468cae404
Replace [dev_dependencies] with newer [dev-dependencies] syntax. (#501) 2023-06-30 10:38:08 +08:00
阿良仔
ccbdb7a19d
feat(website): store the last edited code (#496) 2023-06-29 10:26:12 +08:00
Boshen
c5ff9fc99b
Release oxlint v0.0.4 2023-06-28 23:19:39 +08:00
Boshen
2be637c6ea
feat(linter): implement no_sparse_arrays 2023-06-28 23:03:40 +08:00
阿良仔
87a9ce8713
feat(linter): implement no-ex-assign (#495) 2023-06-28 22:29:34 +08:00
Boshen
2ad1339b4e
feat(linter): implement require_yield 2023-06-28 22:24:30 +08:00
Boshen
9ca942ab2e
fix(tasks): save eslint files to the eslint/ directory 2023-06-28 20:48:51 +08:00
Boshen
a93a876a88
feat(linter): implement no_delete_var 2023-06-28 20:40:12 +08:00
Wenzhe Wang
9e24dbb0fa
chore(minifier): remove unused param (#494) 2023-06-28 20:21:26 +08:00
Boshen
f5761a3ba0
chore: update CONTRIBUTING and justfile for better onboarding 2023-06-28 18:45:24 +08:00
Boshen
ce0100573d
chore(linter): move constructor_super to nursery because it requires CFG 2023-06-28 18:40:48 +08:00
Boshen
32bffa363a
fix(linter): fix disable directives not working for no_func_assign 2023-06-28 18:40:48 +08:00
Boshen
3b7e1fde89
chore(cli): run parser with allow_return_outside_function
because there are a lot of scripts that have top level return functions
2023-06-28 18:40:47 +08:00
Boshen
715698f515
fix(linter): s/no_function_assign/no_func_assign per eslint 2023-06-28 18:40:46 +08:00
Boshen
ab5ec99f65
fix(linter): fix error message when failed to read a file 2023-06-28 18:40:46 +08:00
Boshen
072abcc2a6
fix(linter): fix no_empty_pattern broken on rest elements 2023-06-28 18:40:45 +08:00
Boshen
13207193bf
chore(linter): move no_self_compare from pedantic category
The code is not wrong if it is intended to check for NaNs,
which is the majority of the case.
2023-06-28 18:40:44 +08:00