Boshen
|
5b2474600f
|
fix(cli): should return semantic errors
|
2023-03-17 09:43:53 +08:00 |
|
yangchenye
|
37ad6f3a15
|
feat(parser): support decorators in class expression (#190)
feat(parser): support decorator in class expression
|
2023-03-17 09:33:04 +08:00 |
|
Boshen
|
164c2831e1
|
feat(linter): report export errors in javascript
|
2023-03-15 18:12:34 -07:00 |
|
Boshen
|
8d3a5c46ba
|
feat(ast,semantic): add ModuleRecord
|
2023-03-15 18:12:34 -07:00 |
|
Boshen
|
26efbbe59c
|
chore(deps): bump insta
|
2023-03-15 21:31:08 +08:00 |
|
Xuan
|
ed0c4b1ea3
|
feat(linter): add no-dupe-keys rule (#188)
* feat(linter): add no-dupe-keys rule
* refactor(linter): use map.insert
* fix(linter): fix the comment
|
2023-03-15 16:23:42 +08:00 |
|
Boshen
|
d1c04523b6
|
feat(oxc_ast): add VisitMut trait
closes #184
|
2023-03-15 13:35:54 +08:00 |
|
yangchenye
|
aaaefc8ba5
|
feat(linter): implement eslint(no-unsafe-negation) (#186)
|
2023-03-15 11:36:56 +08:00 |
|
yangchenye
|
74c731c415
|
feat(linter): Implement eslint(no-compare-neg-zero) (#185)
|
2023-03-15 10:44:11 +08:00 |
|
magic-akari
|
867f879483
|
feat(linter): no-async-promise-executor (#180)
* feat(linter): no-async-promise-executor
* fix: cargo lint
* fix: prefer `get_inner_expression`
* chore: update
* fix: use precise span
|
2023-03-15 10:31:08 +08:00 |
|
Boshen
|
b5af93575f
|
deps: update dependencies (#183)
|
2023-03-15 10:30:12 +08:00 |
|
Xuan
|
fca882085f
|
feat(linter): add no-duplicate-case rule (#179)
|
2023-03-14 16:55:04 +08:00 |
|
Xuan
|
5d3a52c1bb
|
feat(linter): add no-caller rule (#178)
* feat(linter): add no-caller rule
* fix(linter): add help message
|
2023-03-14 12:45:02 +08:00 |
|
Boshen
|
ee31f5cc6f
|
feat(linter): check duplicated bound names in ImportDeclaration
|
2023-03-14 10:42:18 +08:00 |
|
Boshen
|
89f28e9f93
|
feat(linter): check module in javascript and skip in typescript
|
2023-03-14 08:53:16 +08:00 |
|
Boshen
|
7b1a7d47b6
|
feat(linter): check await in ClassStaticBlock in javascript
|
2023-03-14 08:08:24 +08:00 |
|
Boshen
|
297ce2743f
|
Revert "feat(linter): check await in class static block"
This reverts commit 7add71c9dd.
|
2023-03-14 07:56:04 +08:00 |
|
Boshen
|
7add71c9dd
|
feat(linter): check await in class static block
|
2023-03-14 07:46:11 +08:00 |
|
Boshen
|
78bd76e8d0
|
feat(parser): check function name for await and yield
|
2023-03-14 07:39:07 +08:00 |
|
Boshen
|
c706d1825d
|
feat(semantic): turn on strict mode in semantic builder
|
2023-03-14 00:30:22 +08:00 |
|
Boshen
|
76118e4901
|
feat(linter): check NewTarget in javascript
|
2023-03-14 00:05:37 +08:00 |
|
Boshen
|
39795dbb1b
|
feat(linter): check ArrayPattern in javascript
|
2023-03-13 23:52:36 +08:00 |
|
Boshen
|
76f7e58036
|
feat(linter): check FormalParameter in javascript
|
2023-03-13 23:43:31 +08:00 |
|
Boshen
|
f4c8cb2cde
|
feat(linter): check FunctionDeclaration in javascript
|
2023-03-13 23:35:42 +08:00 |
|
Boshen
|
2fe8fba5b6
|
refactor(lexer): make TokenValue 8 bytes smaller by changing RegExp.pattern to &'a str (#175)
|
2023-03-13 23:20:52 +08:00 |
|
Boshen
|
5381fd0cf8
|
feat(linter): check Directive in javascript
|
2023-03-13 23:19:35 +08:00 |
|
Boshen
|
7269d32346
|
feat(linter): check FormalParameters in javascript
|
2023-03-13 23:12:42 +08:00 |
|
Boshen
|
040e41240b
|
feat(linter): check AwaitExpression and YieldExpression in javascript
|
2023-03-13 13:45:49 +08:00 |
|
Boshen
|
f36e3301fd
|
refactor(lexer): change TokenValue::String(Atom) to TokenValue::String(&str) (#174)
|
2023-03-13 09:33:44 +08:00 |
|
Boshen
|
fce6e1ec73
|
feat(parser): check YieldExpression
|
2023-03-12 23:41:27 +08:00 |
|
Boshen
|
88fd0a05ec
|
feat(parser): check AwaitExpression
|
2023-03-12 23:37:21 +08:00 |
|
Boshen
|
d6e8c6fb2f
|
feat(parser): check ReturnStatement in return context
|
2023-03-12 23:30:32 +08:00 |
|
Boshen
|
84eaa0b7e3
|
feat(linter): check eval and arguments in JavaScript
|
2023-03-12 23:25:57 +08:00 |
|
Boshen
|
93b06e948a
|
feat(ast_parser): check await and yield identifier error
|
2023-03-12 23:22:10 +08:00 |
|
Boshen
|
605684f4c0
|
fix: fix clippy warnings
|
2023-03-12 21:53:08 +08:00 |
|
Boshen
|
66207e74a4
|
refactor(lexer): remove LexerContext::JsxChild (#172)
|
2023-03-12 20:19:51 +08:00 |
|
Boshen
|
b3fcb3a4e8
|
fix(cli): lint_path should panic with proper error message
|
2023-03-12 13:16:20 +08:00 |
|
Boshen
|
449856e875
|
feat(cli): print number of cpus cores
|
2023-03-12 13:13:09 +08:00 |
|
Boshen
|
7c6e1e0df9
|
feat(cli): do not print errors on files that looks like a minified file
|
2023-03-12 12:59:37 +08:00 |
|
Boshen
|
d8ff7ab022
|
fix(cli): exit 1 when number_of_diagnostics > 0
|
2023-03-12 12:45:05 +08:00 |
|
Shannon Rothe
|
901f4948c1
|
refactor(parser): move import specifier parsing to list.rs (#167)
|
2023-03-12 10:45:02 +08:00 |
|
Boshen
|
1b93d83ff7
|
chore(oxc_parser): setup fuzzer
closes #155
|
2023-03-12 00:44:42 +08:00 |
|
Boshen
|
d2f42c20cd
|
feat(cli): print all parser / semantic / linter diagnostics
|
2023-03-12 00:04:01 +08:00 |
|
Boshen
|
c2f760f1ed
|
chore: run `types -w" to fix all typos
|
2023-03-11 23:37:19 +08:00 |
|
Boshen
|
d490ca7b31
|
chore(rust): bump deps
|
2023-03-11 23:26:45 +08:00 |
|
Boshen
|
7caaa04903
|
feat(cli): ignore files with min suffix
|
2023-03-11 23:02:38 +08:00 |
|
Boshen
|
99dbf8e946
|
feat(linter): use only correctness rules for now
|
2023-03-11 22:36:58 +08:00 |
|
Boshen
|
4585f11da3
|
chore(linter): enable the correctness rules that I want for alpha release
|
2023-03-11 22:18:11 +08:00 |
|
Boshen
|
00f4962669
|
chore(linter): enable no_constant_binary_expression
is_reference_to_global_variable should just return true for builtin types.
|
2023-03-11 21:40:40 +08:00 |
|
Boshen
|
b1e01d0774
|
feat(linter): check top level ModuleDeclaration
|
2023-03-11 21:09:03 +08:00 |
|