Boshen
971aac5716
deps: bump Cargo.lock
2023-04-02 11:00:16 +08:00
Boshen
9f7758465b
Release 0.0.1
...
oxc_allocator@0.0.1
oxc_ast@0.0.1
oxc_diagnostics@0.0.1
oxc_parser@0.0.1
oxc_printer@0.0.1
oxc_semantic@0.0.1
Generated by cargo-workspaces
2023-03-30 23:37:25 +08:00
Boshen
a35d08ea23
Minifier Prototype ( #215 )
...
feat(minifier): minifier prototype
2023-03-29 06:51:50 -07:00
yangchenye
a2d0d2ddc9
feat(linter): implement eslint(array-callback-return) ( #221 )
...
* feat(linter): implement eslint(array-callback-return)
* Add more comments & use phf_set for target methods
* Revert changes to AST
* Document get_enclosing_function
* Clean up names
* Remove redundant visitor and flags
2023-03-29 05:58:39 -07:00
Boshen
b65e8397de
feat(diagnostics): change color displays
...
related #203
2023-03-26 21:20:54 +08:00
Boshen
366dc3037a
feat(diagnostics): port miette GraphicalReportHandler for further tuning
2023-03-26 20:20:53 +08:00
Boshen
ef19895cc3
feat(cli): add -A all -D isolated-declarations ( #211 )
...
* feat(linter): add restriction category for lint rules
* feat(cli): add "--allow" and "--deny" commands
* feat(linter): use a single instance of linter
* feat(cli): derive rules from args
* feat(cli): print number of rules
2023-03-26 04:34:31 -07:00
Boshen
ff9a2c3ab0
feat(linter): eslint disable comments ( #196 )
...
feat(linter): eslint disable comments
closes #100
closes #170
2023-03-22 11:27:42 +08:00
Boshen
ea7ae1011f
chore(cli): removed unused glob dependency
2023-03-19 10:35:55 +08:00
Boshen
8d3a5c46ba
feat(ast,semantic): add ModuleRecord
2023-03-15 18:12:34 -07: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
Boshen
b5af93575f
deps: update dependencies ( #183 )
2023-03-15 10:30:12 +08:00
Boshen
449856e875
feat(cli): print number of cpus cores
2023-03-12 13:13:09 +08:00
Boshen
d490ca7b31
chore(rust): bump deps
2023-03-11 23:26:45 +08:00
Xuan
9f3952cca3
feat(linter): add no_self_compare ( #152 )
2023-03-11 18:15:44 +08:00
Boshen
5c8670d1c8
feat(semantic): declare symbol and reference Identifier
2023-03-10 23:28:51 -08:00
Shannon Rothe
da8355f418
feat(rulegen): refactor to visitor pattern ( #162 )
...
* feat(rulegen): refactor to visitor pattern
* convert `parse_test_code` to visitor pattern
2023-03-09 17:33:30 +08:00
Boshen
4ea7ac373d
feat(linter): check Identifier in javascript
2023-03-09 01:27:14 -08:00
Boshen
ed161cc38e
feat(linter): check PrivateIdentifier in javascript
2023-03-09 01:27:14 -08:00
Boshen
4e0d785b25
feat(linter): add infrastructure for handling early errors
2023-03-09 01:27:14 -08:00
Yoni Feng
8f26b9932a
perf(semantic): use faster indextree building ( #122 )
2023-03-09 17:20:41 +08:00
Boshen
e1971577cb
fix(oxc_macros): fix clippy warnings
2023-03-08 23:35:34 +08:00
Boshen
94fdd54368
perf(lexer): fine tune identifier checking with less redundant branches ( #154 )
...
perf(lexer): fine tune checking of identifiers with less redundant branches
2023-03-08 22:00:15 +08:00
Domon
be2231b689
fix: fix wasm-pack build crash ( #156 )
2023-03-08 19:00:40 +08:00
yangchenye
b76ffb4826
feat(rule_generator): generate test options ( #150 )
2023-03-08 11:02:01 +08:00
Amit Dahan
2687d7868f
refactor(linter): add declare_all_lint_rules proc macro ( #121 )
2023-03-07 07:39:38 -08:00
Shannon Rothe
0f7edfb003
feat(rule_generator): automatically generate rules and tests ( #142 )
2023-03-07 18:21:58 +08:00
Boshen
c5dea20e1d
fix(oxc_wasm): remove wee_alloc dependency; fix profile warning
2023-03-06 14:50:02 +08:00
Domon
24d327c40d
feat(wasm): add wasm to oxc ( #130 )
2023-03-06 14:13:06 +08:00
Boshen
683778dfe2
feat(semantic): implement scopes ( #135 )
...
closes #119
2023-03-05 07:43:32 -08:00
Boshen
2f9e3832a0
chore(rust): bump deps
2023-03-05 04:51:00 -08:00
Boshen
94fddffc70
chore: use fancy-no-backtrace from miette
...
See https://github.com/zkat/miette/issues/132
2023-03-05 15:16:26 +08:00
Boshen
7d3ce8b125
feat(benchmark): add semantic builder to benchmark ( #129 )
2023-03-04 23:09:19 -08:00
Boshen
e71de0bff6
perf(cli): lint files while walking directories
2023-03-04 04:38:58 -08:00
Boshen
e73f0b3ebe
chore(cli): turn off unused default_features of git2
2023-03-04 04:38:58 -08:00
Shannon Rothe
f8b8f045a9
feat(cli): filter out uncommitted files ( #110 )
2023-03-03 22:42:22 -08:00
Yoni Feigelson
9b5c170c19
refactor(linter) Generate rule name with declare_oxc_lint
2023-03-01 06:50:36 -08:00
Yoni Feigelson
f859ee0e38
feat(linter): declare_oxc_lint proc_macro
2023-02-28 18:05:45 -08:00
Boshen
3b887dbeaf
feat(parser): print json in parser example
2023-02-28 00:05:54 +08:00
Boshen
5c64b4874c
feat(linter): configure rules from json
2023-02-27 12:31:57 +08:00
Boshen
a342a01c4a
feat(linter): add rule name and make the Tester test via rule names
2023-02-27 12:31:57 +08:00
Amit Dahan
e2207b9b15
feat(cli): support linting glob patterns
2023-02-26 22:25:16 +08:00
thepassle
eaeafa0a82
feat(cli): exit codes
...
chore: remove foo.js
chore: review comments
chore: shut clippy up
chore: ran cargo fmt
chore: unnecessary return
2023-02-26 01:32:17 +08:00
Boshen
28916f96af
feat(linter): setup tests
2023-02-25 23:45:03 +08:00
Boshen
c86cca37a8
feat(linter): linter prototype
2023-02-25 16:56:10 +08:00
Boshen
abb2f8c949
feat(rust): use mimalloc on windows
2023-02-25 11:58:57 +08:00
Boshen
5f7a756229
feat(semantic): add semantic builder with untyped ast tree creation
2023-02-25 10:32:48 +08:00
Boshen
9f3a8c12a9
feat(cli): initialize cli and directory traversal
2023-02-24 22:46:56 +08:00
Boshen
7689df3318
feat(coverage): print diagnostics to snapshots
2023-02-22 19:23:01 +08:00