Boshen
94792e9153
refactor(ast): split syntax_directed_operations into separate files
2023-10-19 14:58:31 +08:00
Jason Miller
1aa95fa6d6
Fix oxlint --quiet suppressing errors ( #1008 )
...
As explained by the comment in source, --quiet should only suppress
warning output.
Please double-check that I haven't done something totally wrong here, I
don't know Rust.
2023-10-18 11:00:27 +08:00
Boshen
4b719026bf
feat(transform_conformance): handle non-existent output.js ( #1007 )
2023-10-17 20:44:35 +08:00
Boshen
052661d75e
refactor(transform_conformance): improve report format
2023-10-17 17:41:34 +08:00
Boshen
3605f7c0fc
fix(transform_conformance): fix for codecov
2023-10-17 15:34:50 +08:00
Boshen
1b3b100475
feat(transformer_conformance): read plugins options from babel options.json ( #1006 )
...
This PR correctly handles babel `options.json` such as
https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-nullish-coalescing-operator/test/fixtures/assumption-noDocumentAll/options.json
2023-10-17 14:52:51 +08:00
Boshen
077585addc
chore(codecov): ignore oxc_formatter because it is not being actively worked on
2023-10-17 09:18:13 +08:00
Cameron
88cf98a258
feat(linter): eslint-plugin-unicorn(throw-new-error) ( #1005 )
...
part of https://github.com/web-infra-dev/oxc/issues/684
[throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/throw-new-error.md )
2023-10-17 09:15:10 +08:00
Boshen
678db1d955
feat(transformer): ES2020 Nullish Coalescing Operator ( #1004 )
...
The test runner needs an update for reading options.jon, which I'll work
on in the up coming PR.
2023-10-16 21:45:58 +08:00
Wenzhe Wang
0e9104477f
feat: adjust the order of print semicolon ( #1003 )
...
Add a number of semicolons to our minifier test cases.
2023-10-16 21:33:15 +08:00
Boshen
240260ea05
chore(linter): update snapshots
2023-10-16 21:11:39 +08:00
Boshen
1f1eb6c497
chore: fix spelling
2023-10-16 15:33:47 +08:00
dependabot[bot]
3688f6a06f
chore(deps): bump the dependencies group with 5 updates ( #1002 )
2023-10-16 15:23:20 +08:00
Boshen
4886d408eb
chore(clippy): enable undocumented_unsafe_blocks
2023-10-16 15:18:14 +08:00
Boshen
db5417f9a9
refactor(clippy): allow clippy::too_many_lines
2023-10-16 15:18:11 +08:00
Boshen
eaeb63072f
refactor(clippy): allow struct_excessive_bools
2023-10-16 15:18:07 +08:00
Boshen
1e1050f92f
refactor(transformer): clean up the transformer constructor code
2023-10-16 14:36:14 +08:00
Boshen
6f289b9e57
chore(codecov): ignore oxc_linter_plugin
2023-10-16 14:09:09 +08:00
Boshen
c060621512
feat(transformer): add unit tests and test coverage ( #1001 )
2023-10-16 14:07:29 +08:00
Boshen
cc6c52e536
fix(benchmark): bench the whole transformation pipeline ( #998 )
2023-10-16 13:17:15 +08:00
Boshen
110059ffb7
refactor(rust): change RefCell.clone().into_inner() to RefCell.get()
2023-10-16 11:26:38 +08:00
Cameron
952139c5ec
feat(linter): eslint-plugin-unicorn(prefer-array-flat-map) ( #997 )
...
part of #684
[prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-flat-map.md )
2023-10-16 11:26:00 +08:00
Boshen
0f72066f2e
feat(transformer): finish 2016 exponentiation operator ( #996 )
2023-10-16 09:30:04 +08:00
Wenzhe Wang
6c18b3e8ec
feat(codegen): beauty class print ( #995 )
2023-10-15 16:37:01 +08:00
Boshen
47872200e5
refactor(ast): clean up some methods
2023-10-15 10:49:35 +08:00
Boshen
1661385c1a
feat(semantic): check non-simple lhs expression of assignment expression ( #994 )
2023-10-14 23:40:10 +08:00
Cameron
dc08a21207
feat(linter) eslint-plugin-unicorn error message ( #992 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-10-14 22:01:29 +08:00
Cameron
41c55bc5a9
feat(linter): eslint-plugin-unicorn no console spaces ( #991 )
2023-10-14 21:40:30 +08:00
Boshen
2e2b7587ac
feat(playground): add transform and minify ( #993 )
2023-10-14 19:49:58 +08:00
Boshen
801d78a3c6
refactor(minifier): make the minifier api only accept an ast ( #990 )
2023-10-14 00:51:29 +08:00
Boshen
f32bf27106
fix(codegen): fix some typescript codegen problems ( #989 )
2023-10-13 16:23:48 +08:00
Boshen
b9d0d57fa2
feat(transform_conformance): improve how snapshot is displayed
2023-10-13 13:44:45 +08:00
Boshen
a6ea901254
feat(coverage): add typescript to codegen tests ( #988 )
2023-10-13 13:42:54 +08:00
Boshen
e0ca09b1c9
feat(codegen): implement the basics of non-minifying codegen ( #987 )
2023-10-13 13:34:21 +08:00
Boshen
efad0fce2d
deps(rust): bump deps
2023-10-12 21:03:17 +08:00
Cameron
3af35b8048
feat(linter) eslint-unicorn catch error name ( #984 )
2023-10-12 11:06:46 +01:00
Boshen
ce79bc12ab
feat(transform_conformance): move Formatter to codegen ( #986 )
2023-10-12 15:13:14 +08:00
Boshen
809f050a5f
feat(codegen): move minifying printer to codegen crate ( #985 )
2023-10-12 14:56:30 +08:00
Boshen
f28d96c378
feat(codegen): initialize the codegen crate and struct ( #983 )
2023-10-12 10:41:44 +08:00
Boshen
bd99c7f174
chore(cli): remove cmd snapshot and building oxlint binary to speed up ci
2023-10-11 20:38:59 +08:00
Boshen
8c12dff8a3
perf: speed tasks run by using a global allocator
2023-10-11 20:30:30 +08:00
magic-akari
dc08c949a2
feat(transformer): RegexpFlags ( #977 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-10-11 07:15:19 -05:00
Boshen
eaa0c58e24
feat(linter): eslint-plugin-unicorn(filename-case) ( #978 )
2023-10-11 15:23:17 +08:00
Boshen
d5fb3d43ab
chore(coverage): remove regex-v-flag feature from parser tests ( #975 )
...
A regex parser is required to implement this.
Relates #385
2023-10-11 06:18:22 +08:00
Boshen
b7dbbdeb00
chore(README): update info about transpiler
2023-10-10 21:11:19 +08:00
Boshen
822f4e1468
chore: remove tasks/transform_conformance/README.md
...
use issue instead https://github.com/web-infra-dev/oxc/issues/974
2023-10-10 21:01:34 +08:00
Boshen
665c38574a
chore: add A-transformer label
2023-10-10 21:01:24 +08:00
Boshen
903854dac0
refactor(ast): fix the lifetime annotations around Vist and VisitMut ( #973 )
2023-10-10 17:05:48 +08:00
Boshen
c38a00b453
chore(minsize): disable the test as it is broken right now
2023-10-10 15:53:55 +08:00
Boshen
d973051ec3
chore(resolver): remove accidentally committed temp files
2023-10-10 15:49:55 +08:00