Dunqing
|
7b85843981
|
feat(task/prettier-conformance): add spacing before block in IfStatement (#1374)
|
2023-11-17 20:19:26 +08:00 |
|
Boshen
|
2d3b5eb299
|
feat(prettier): add comments before expressions (#1375)
|
2023-11-17 19:38:25 +08:00 |
|
Dunqing
|
a8e4c3333c
|
feat(prettier): wrap a group in BinaryExpression (#1370)
|
2023-11-17 19:00:29 +08:00 |
|
Dunqing
|
6ac6d7158f
|
fix(prettier): incorrect dot operator in MetaProperty (#1369)
fix(prettier): incorrect dot operator in MetaProperty
test: update snap
|
2023-11-17 17:56:57 +08:00 |
|
Boshen
|
6d8fa7ff36
|
feat(prettier): sort regex flags (#1372)
|
2023-11-17 17:08:57 +08:00 |
|
Boshen
|
5a6c83b0cc
|
feat(prettier): print NewExpression correctly (#1368)
|
2023-11-17 16:38:19 +08:00 |
|
Boshen
|
bfdb6eac86
|
feat(prettier): print statements with newlines (#1367)
|
2023-11-17 15:13:51 +08:00 |
|
Dunqing
|
9b94226531
|
feat(prettier): support single_quote option (#1366)
|
2023-11-17 14:07:29 +08:00 |
|
Dunqing
|
1116afa7bc
|
fix(prettier): remove extra empty lines inside the function body (#1365)
I'm not sure that's the right approach. But we can handle it this way for now
|
2023-11-17 14:03:26 +08:00 |
|
Dunqing
|
210dbd3ff2
|
feat(prettier): support format arrow function as expression (#1364)
|
2023-11-17 13:59:29 +08:00 |
|
Dunqing
|
5af76b4bcd
|
fix(prettier): incorrect square brackets in ComputedMemberExpression (#1363)
|
2023-11-17 13:55:27 +08:00 |
|
Boshen
|
3bfe05ec7c
|
chore(resolver): remove tracing_subscriber (#1362)
this is no longer required for rspack
|
2023-11-17 13:34:54 +08:00 |
|
Boshen
|
c6957ae8f1
|
refactor(prettier): use plain print_xxx functions (#1361)
|
2023-11-17 12:36:05 +08:00 |
|
Wenzhe Wang
|
3267437128
|
feat(prettier): split ArrayExpression to single file (#1359)
|
2023-11-16 16:03:29 +00:00 |
|
Boshen
|
e65ec46705
|
feat(prettier): print ImportDeclaration (#1358)
|
2023-11-17 00:03:14 +08:00 |
|
Boshen
|
128406a8ab
|
Rust v1.74.0 (#1357)
|
2023-11-16 15:21:45 +00:00 |
|
Boshen
|
2aca2d0894
|
feat(prettier): add print_class (#1355)
|
2023-11-16 15:21:26 +00:00 |
|
Wenzhe Wang
|
a3658ca5f9
|
feat(prettier): add more on function parameters format (#1356)
|
2023-11-16 22:37:02 +08:00 |
|
Boshen
|
9754ef0d95
|
feat(pretter): start formatting ModuleDeclaration and ArrowExpression (#1354)
|
2023-11-16 21:38:21 +08:00 |
|
Dunqing
|
40be405a57
|
feat(prettier): support for printing objects with longer properties (#1353)
|
2023-11-16 20:48:27 +08:00 |
|
Shannon Rothe
|
abd5924ce9
|
feat(playground): add prettier IR output (#1350)
<img width="1549" alt="image"
src="https://github.com/oxc-project/oxc/assets/803013/08046826-9141-48ce-985d-6dd22642bfd6">
- Close: #1338
|
2023-11-16 20:42:02 +08:00 |
|
Boshen
|
bc302f4f8b
|
feat(prettier): print big int with lowercase (#1351)
|
2023-11-16 19:04:12 +08:00 |
|
Shannon Rothe
|
735beb7fab
|
feat(playground): add prettier formatting + IR (#1349)
- [x] add Prettier format button which takes source text and updates
view with formatted source text
- [ ] add button to show Prettier IR
|
2023-11-16 09:33:37 +00:00 |
|
Boshen
|
aee733d250
|
feat(prettier): add print_return_or_throw_argument (#1347)
|
2023-11-16 17:16:30 +08:00 |
|
Boshen
|
66aae99c63
|
feat(prettier): add print_function and print_function_parameters (#1346)
|
2023-11-16 17:01:19 +08:00 |
|
Boshen
|
147b4bc530
|
feat(prettier): attempt to print leading comments (#1345)
|
2023-11-16 16:19:40 +08:00 |
|
Dunqing
|
95268c9e0d
|
feat(prettier): implement format function for ObjectExpression (#1344)
|
2023-11-16 16:01:36 +08:00 |
|
Boshen
|
9780621925
|
chore: run fmt
|
2023-11-16 13:36:42 +08:00 |
|
Boshen
|
73d6d40778
|
rust: do not compile libs and bins that do not have tests (#1342)
|
2023-11-16 13:35:24 +08:00 |
|
Boshen
|
187299bd8f
|
feat(prettier): add print_call_expression for CallExpression and NewExpression (#1340)
|
2023-11-16 11:47:30 +08:00 |
|
Boshen
|
cf3318c609
|
refactor(prettier): use allocator for IfBreak's Box (#1339)
|
2023-11-16 11:33:30 +08:00 |
|
Dunqing
|
b443a0798f
|
fix(prettier): remove unnecessary group and ident in BinaryishExpression (#1337)
|
2023-11-16 11:16:26 +08:00 |
|
Dunqing
|
8d7c0d73d1
|
feat(prettier): improve the format of ReturnStatement to support longer width (#1336)
|
2023-11-16 11:10:27 +08:00 |
|
Dunqing
|
2bed242016
|
feat(prettier): Doc::IfBreak should a accept single doc and add if_break macro (#1335)
|
2023-11-16 11:03:53 +08:00 |
|
Boshen
|
a2f9c8c6b7
|
feat(prettier): add more expression formatting logic (#1334)
|
2023-11-15 16:36:15 +00:00 |
|
Boshen
|
9594f62caf
|
feat(prettier): add print_block (#1333)
|
2023-11-15 14:56:20 +00:00 |
|
Wenzhe Wang
|
f04921fa95
|
feat(prettier): format WithStatement (#1332)
|
2023-11-15 14:49:52 +00:00 |
|
Boshen
|
45d5cf7e0a
|
chore(prettier): move format.rs to its own directory (#1331)
|
2023-11-15 13:08:29 +00:00 |
|
Boshen
|
33a14902d3
|
perf(prettier): preallocate the output buffer (#1328)
|
2023-11-15 14:24:47 +08:00 |
|
Iván Ovejero
|
5ade8950e6
|
feat(linter): Add rule eslint(no_regex_spaces) (#1129)
|
2023-11-15 14:04:48 +08:00 |
|
Cameron
|
e5a34366af
|
fix(prettier) Fix printing of array expressions (#1325)
|
2023-11-15 10:18:32 +08:00 |
|
Cameron
|
9c170b89ff
|
refactor(prettier) Remove flat_contents from IfBreak (#1324)
|
2023-11-15 10:13:30 +08:00 |
|
Hao Cheng
|
71b3f48af1
|
feat(linter): eslint-plugin-unicorn/number-literal-case (#1271)
This PR implements the
[eslint-plugin-unicorn/number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/number-literal-case.md)
rule.
Tests taken from
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/test/number-literal-case.mjs.
(Test cases that rely on a Vue parser are removed.)
Related issue: #684
|
2023-11-15 10:07:19 +08:00 |
|
Cameron
|
01a3a77ead
|
fix(prettier) indent block stmts correctly (#1323)
|
2023-11-15 09:59:11 +08:00 |
|
Cameron
|
ebcd707e8b
|
feat(prettier) Get indentation working (#1322)
|
2023-11-15 09:58:35 +08:00 |
|
Boshen
|
be043c37e9
|
refactor(ast): VariableDeclarationKind::to_string -> as_str (#1321)
|
2023-11-14 15:28:13 +00:00 |
|
Boshen
|
d2b73122c5
|
refactor(prettier): add a static string ss construction macro (#1320)
|
2023-11-14 15:20:50 +00:00 |
|
Dunqing
|
96753c2efd
|
feat(prettier): add HardLine if the next line of the VariableDeclartion is a empty line (#1318)
|
2023-11-14 23:04:27 +08:00 |
|
Dunqing
|
ca7e0ab208
|
fix(prettier): calculate overflow for ObjectPattern (#1317)
|
2023-11-14 22:58:09 +08:00 |
|
Boshen
|
5773af9536
|
feat(prettier): complete PrettireOptions (#1319)
|
2023-11-14 14:57:19 +00:00 |
|