Commit graph

900 commits

Author SHA1 Message Date
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
阿良仔
be2200dc7b
feat(linter): implement no-case-declarations (#491) 2023-06-28 16:59:21 +08:00
Wenzhe Wang
a32320646d
feat(minfier): try fold and or operator (#472) 2023-06-28 14:58:55 +08:00
u9g
a2d90d94d6
Add comments to BindingPatternKind (#489) 2023-06-28 14:47:22 +08:00
u9g
ea3bab96c0
Implement GetSpan for AssignmentTargetPattern (#488) 2023-06-28 10:46:25 +08:00
u9g
780e17707b
Implement GetSpan for JSXChild (#487) 2023-06-28 00:26:47 +08:00
Boshen
0a76483907
chore: update README with oxlint 2023-06-28 00:18:38 +08:00
Boshen
64d6103d25
fix(cli): change "Found X errors" to "Found X warnings" 2023-06-27 23:48:26 +08:00
Boshen
a592e0d7fb
Release oxlint v0.0.3 2023-06-27 23:29:25 +08:00
Boshen
03b69bbd4b
fix: fix wrong npm/oxlint binary package name 2023-06-27 23:28:48 +08:00
Boshen
fa02547505
Release oxlint v0.0.2 2023-06-27 23:13:57 +08:00
Boshen
b8526e7363
chore(cli): change "Found X errors" to "Found X warnings"
Things linters report are warnings not errors.
2023-06-27 23:03:21 +08:00
Boshen
cddf6469d5
Release oxlint v0.0.1 2023-06-27 22:40:02 +08:00
Boshen
d643cba1cc
fix(linter): fix false postive for constructor_super with empty body 2023-06-27 22:23:30 +08:00
Boshen
1768192eeb
chore(linter): move no-eval to restriction (not in recommended list) 2023-06-27 22:11:44 +08:00