Boshen
fec5aafbf1
refactor(oxc_parser): remove a few unused diagnostics
2023-04-15 18:13:15 +08:00
Boshen
4939eeab6a
refactor(oxc_ast): cleanup docs and exports
2023-04-15 18:02:17 +08:00
Boshen
65e8fcd51b
chore(coverage): include conformance tests from the compiler directory
2023-04-15 17:28:25 +08:00
Boshen
90b69cf220
ci: add deploy website work flow
2023-04-15 15:20:59 +08:00
Boshen
427b2093c2
ci: change coverage to run on main branch
2023-04-15 14:51:07 +08:00
Boshen
9cf24cea7d
ci(benchmark): cache benchmark files with libs.txt
2023-04-15 14:38:02 +08:00
Boshen
917a001ca7
chore: do not run --release for codecov because things get optimized out
2023-04-15 14:31:52 +08:00
Boshen
cfe3dd0869
chore: rust taplo format
2023-04-15 14:14:11 +08:00
Boshen
42f07cf922
chore(README): add Rust cloc
2023-04-15 14:09:19 +08:00
Boshen
f1dcc5429e
refactor(tasks): clean up code around code coverage
2023-04-15 13:53:57 +08:00
Boshen
4c5ece9386
chore(tasks): remove minsize from unit tests as it is too slow
2023-04-15 13:41:52 +08:00
Boshen
919feb2691
fix(coverage): remove jsx tests from babel printing tests
2023-04-15 13:22:09 +08:00
Boshen
6c5db48185
refactor(coverage): change Option<BabelOptions> to BabelOptions
2023-04-15 13:14:44 +08:00
Boshen
b851035293
feat(coverage): add jsx printing tests ( #279 )
...
closes #261
2023-04-15 12:31:37 +08:00
Jin Wei Tan
161231347b
feat(linter): implement no-shadow-restricted-names ( #277 )
2023-04-14 23:33:02 +08:00
Boshen
ffe12b30bc
chore: change libs CDN from unstable unpkg to stable jsdelivr
2023-04-14 23:27:16 +08:00
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
Boshen
fc7cad9120
fix(parser): reset [In] context in parse_function
2023-04-13 22:16:48 +08:00
Boshen
3088ecac14
chore(justfile): add cargo fmt remove cargo coverage as it's too slow
2023-04-13 16:26:47 +08:00
Boshen
089510fb29
chore(npm): add funding link
2023-04-13 14:54:44 +08:00
Boshen
ad698bc21a
Update README.md
2023-04-13 12:30:57 +08:00
Boshen
c6f5181f86
Update README.md
2023-04-13 12:19:57 +08:00
Boshen
b00d0cfd09
Update README.md
2023-04-13 12:17:34 +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
c16f858ae8
chore(just): add just lint to just ready
2023-04-11 23:30:43 +08:00
Boshen
012516a777
ci: read cache from main branch in codecov
2023-04-11 16:06:58 +08:00
Boshen
62bb985434
ci: use cargo-llvm-cov for code coverage ( #274 )
2023-04-11 16:03:07 +08:00
Boshen
76211353db
Release CLI v0.0.5
2023-04-10 22:39:00 +08:00
Boshen
040ac8256f
Release
2023-04-10 22:35:05 +08:00
Boshen
2032cfd53e
chore(justfile): add typos
2023-04-10 22:26:56 +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
04592b3e4f
feat(cli): add --threads 1 option for rayon to use only 1 threads
2023-04-10 22:13:41 +08:00
Boshen
48736e53af
fix(parser): fix panic in unexpected token
2023-04-10 21:57:31 +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
yangchenye
35b19e7edf
feat(semantic): Add index mapping from span to reference id ( #270 )
...
* feat(semantic): Add index mapping from span to reference id
* Switch to BTreeMap for index
2023-04-10 10:20:15 +08:00
Boshen
84d252df01
chore(README): update CONTRIBUTING and add justfile
2023-04-10 00:14:43 +08:00
Wenzhe Wang
b51c2df3cc
feat(linter): no constant condition ( #271 )
...
* feat(linter): if statement
* feat: add conditionalExpression
* feat(linter): add test for loop
* chore(linter): allow too many lines
* refactor(linter): use GetSpan trait
2023-04-09 18:49:46 +08:00
Boshen
024f1a1552
fix(parser): fix [+In] Destructuring Binding Pattern Initializer ( #267 )
2023-04-06 21:47:07 +08:00
Boshen
398dbfd2a7
fix(paresr): parse [+In] in template ( #266 )
...
relates #255
2023-04-06 21:37:34 +08:00
Boshen
6360bdad31
fix(parser): fix [+in] context in CallArguments ( #265 )
...
relates #255
2023-04-06 21:02:30 +08:00
Wei Zhu
034ca98182
fix(linter): fix panic when directive appears at the first line ( #264 )
2023-04-06 20:46:01 +08:00
Wei Zhu
f9347b55b7
fix(parser): fix parse error on JSXText preceded by JSXFragment ( #262 )
...
Current implement was unable to parse `<div><></>foo</div>`, as `foo` was identified as Identifier.
2023-04-06 17:17:46 +08:00
Boshen
dc090208c4
fix(parser): fix crashing on empty ParenthesizedExpression with comments ( #263 )
...
relates #232
2023-04-06 17:16:15 +08:00
Wei Zhu
b17181a0c4
fix(parser): fix additional char being consumed in JSXText ( #259 )
2023-04-06 13:52:04 +08:00
Boshen
6fca022982
chore(README): add try it out at top
2023-04-05 22:43:59 +08:00
Boshen
8b8355d04a
chore: note about broken cargo-unused-features
2023-04-05 22:22:59 +08:00
Boshen
da29e4a2f1
chore(README): update objectives
2023-04-05 22:10:33 +08:00