Boshen
9eec306818
chore(minifier): add SemanticBuilder to minifier example
...
so we can start measuring perf
2023-04-14 13:21:04 +08:00
Boshen
b603c70564
chore: remove examples/
2023-04-14 13:12:33 +08:00
Boshen
a7cd845fff
feat: add cargo minsize task for tracking minification size ( #276 )
...
* feat: add `cargo minsize` task for tracking minification size
* add gzip
2023-04-14 13:07:37 +08:00
Boshen
d117ce20a1
refactor(benchmark): add more benchmark files
2023-04-13 22:16:48 +08:00
Shannon Rothe
7899cf545d
feat(semantic): parse jsdoc comments ( #205 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-04-12 16:47:19 +08:00
Boshen
040ac8256f
Release
2023-04-10 22:35:05 +08:00
Boshen
bb18132da5
refactor(oxc_diagnostics): remove error declarations
...
Make this crate not dependent on `oxc_ast`
2023-04-10 22:21:05 +08:00
Boshen
aedaa1a110
refactor(linter,semantic): move syntax check from linter to semantic ( #272 )
...
Syntax checker is part of semantic analyzer,
it doesn't make sense for the user to add a linter just for semantic errors
2023-04-10 12:23:53 +08:00
Boshen
021271b953
Release oxc_diagnostics@0.0.4
2023-04-05 21:11:12 +08:00
Boshen
513931f672
Release oxc_ast@0.0.4 oxc_parser@0.0.4 oxc_semantic@0.0.3
2023-04-05 20:59:50 +08:00
Boshen
089c2ba0ca
Release 0.0.3
2023-04-02 16:59:15 +08:00
Boshen
abcda95e8e
deps: bump deps
2023-04-02 16:48:45 +08:00
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