Boshen
|
cc8b8719f7
|
feat(prettier): format for loop and update expression (#1427)
|
2023-11-19 14:04:47 +08:00 |
|
Wenzhe Wang
|
c1450d8e90
|
feat(prettier): basic print of TemplateLiteral (#1426)
|
2023-11-19 13:51:47 +08:00 |
|
Boshen
|
902d4d0bab
|
feat(prettier): format with and if statements (#1425)
|
2023-11-19 11:47:31 +08:00 |
|
Cameron
|
08ce4474e1
|
feat(prettier) Add IndentIfBreak support (#1420)
|
2023-11-19 03:11:52 +00:00 |
|
Jon Surrell
|
cb804d3cd2
|
Add base to AST BigintLiteral (#1416)
|
2023-11-19 11:11:19 +08:00 |
|
Dunqing
|
b945307ab3
|
feat(prettier): support format function for ImportDefaultSpecifier (#1424)
|
2023-11-19 11:10:08 +08:00 |
|
Wenzhe Wang
|
d6b913e46a
|
feat(prettier): add trailing comma (#1422)
|
2023-11-19 11:08:25 +08:00 |
|
Cameron
|
91ee3e8bfc
|
fix(prettier) Print intend in doc debug view (#1419)
|
2023-11-19 11:07:32 +08:00 |
|
Hao Cheng
|
5543e8c435
|
feat(linter): eslint-plugin-unicorn/no-nested-ternary (#1417)
This PR implements the
[eslint-plugin-unicorn/no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-nested-ternary.md)
rule.
Tests taken from
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/test/no-nested-ternary.mjs.
Related issue: #684
|
2023-11-19 11:06:48 +08:00 |
|
Angelo Annunziata
|
b72f83b000
|
feat(linter): for-direction rule add check for condition in reverse o… (#1418)
Align eslint **for-direction** rule with the new default behaviour
https://github.com/eslint/eslint/pull/17755
|
2023-11-18 23:53:39 +00:00 |
|
Boshen
|
1dacb645d0
|
feat(prettier): start adding parent stack (#1415)
|
2023-11-18 16:39:24 +00:00 |
|
Boshen
|
abaa8c37a5
|
refactor(prettier): clean up some code (#1414)
|
2023-11-18 14:46:11 +00:00 |
|
Boshen
|
d0a70d0626
|
feat(prettier): print class method and read tab width (#1413)
|
2023-11-18 22:42:53 +08:00 |
|
Dunqing
|
b0248acb7b
|
refactor(prettier): refactor binaryish expression formatting (#1412)
|
2023-11-18 22:03:26 +08:00 |
|
Dunqing
|
f6ecd96e69
|
feat(prettier): print getter/setter function in PropertyKey (#1411)
|
2023-11-18 21:59:22 +08:00 |
|
RiESAEX
|
98279fc6ff
|
feat(linter): eslint-plugin-unicorn: no-hex-escape (#1410)
[Rule
Detail](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-hex-escape.md)
#684
|
2023-11-18 21:57:06 +08:00 |
|
Boshen
|
bc3069ec76
|
feat(prettier): print empty object properties (#1409)
|
2023-11-18 16:52:54 +08:00 |
|
Wenzhe Wang
|
70b80ba542
|
feat(prettier): print TSTupleType (#1408)
|
2023-11-18 16:44:27 +08:00 |
|
Wenzhe Wang
|
97fee26e25
|
feat(prettier): print empty array (#1407)
|
2023-11-18 16:40:39 +08:00 |
|
Boshen
|
481af5040d
|
feat(prettier): format hashbang (#1406)
|
2023-11-18 16:00:52 +08:00 |
|
Boshen
|
c9f7f1308f
|
chore(prettier): allow trailing comma in some macros (#1405)
|
2023-11-18 15:42:39 +08:00 |
|
Boshen
|
323f2f9789
|
feat(prettier): format more import and export declarations (#1404)
|
2023-11-18 15:37:56 +08:00 |
|
Dunqing
|
b251c10b09
|
feat(prettier): print parameters in ArrowExpression (#1400)
|
2023-11-18 05:37:55 +00:00 |
|
Dunqing
|
7951849ec1
|
feat(prettier): support format function for ImportExpression (#1399)
|
2023-11-18 13:34:14 +08:00 |
|
magic-akari
|
f5894b636b
|
perf(regexp): remove unnecessary sort (#1402)
|
2023-11-18 13:28:55 +08:00 |
|
Dunqing
|
75eb708526
|
feat(prettier): transform expression to identifier in PropertyKey (#1398)
|
2023-11-18 11:20:43 +08:00 |
|
Boshen
|
fb7cdc6687
|
refactor(prettier): impl Display for Doc (#1401)
|
2023-11-18 11:17:03 +08:00 |
|
cin
|
3df810bf51
|
feat(linter): eslint-plugin-jest: no-deprecated-function (#1316)
|
2023-11-18 11:02:03 +08:00 |
|
Boshen
|
8cb0795796
|
feat(prettier): format SequenceExpression and ParenthesizedExpression (#1397)
|
2023-11-18 10:19:12 +08:00 |
|
Cameron
|
08f00cbd82
|
fix(prettier) if statement closing bracket indentation (#1396)
|
2023-11-18 09:51:25 +08:00 |
|
Cameron
|
39341e4688
|
feat(prettier) Print function args correctly (#1395)
|
2023-11-18 09:47:27 +08:00 |
|
Cameron
|
cff04ed09c
|
feat(prettier) print do while loop (#1394)
|
2023-11-18 09:41:27 +08:00 |
|
Cameron
|
db71974655
|
feat(prettier) Print labeled statement (#1393)
|
2023-11-18 09:36:28 +08:00 |
|
Cameron
|
ecbe0a4b98
|
feat(prettier) object assignments (#1392)
|
2023-11-18 09:31:26 +08:00 |
|
Cameron
|
6bb40a8f86
|
feat(prettier) array assignments (#1391)
|
2023-11-18 09:27:26 +08:00 |
|
Cameron
|
ba57544b6e
|
feat(prettier) TSInferType, TSIndexAccessType (#1390)
|
2023-11-18 09:22:37 +08:00 |
|
Boshen
|
7ed067ec28
|
feat(prettier): print NumberLiteral (#1389)
feat(prettier): print NumberLiteral
feat(prettier): format `NumberLiteral`
|
2023-11-18 02:06:09 +08:00 |
|
Cameron
|
b025213795
|
feat(prettier) port adjust clause (#1388)
|
2023-11-18 01:58:27 +08:00 |
|
Cameron
|
5cb6ff2895
|
feat(prettier) print while statement (#1387)
|
2023-11-18 01:52:27 +08:00 |
|
Cameron
|
0195affb5a
|
feat(prettier) print for in statements (#1386)
|
2023-11-18 01:46:27 +08:00 |
|
Cameron
|
b613eab2f0
|
feat(prettier) print for of statements (#1385)
|
2023-11-18 01:41:27 +08:00 |
|
Cameron
|
788e9b3807
|
feat(prettier) print for statement (#1384)
|
2023-11-18 01:36:14 +08:00 |
|
Boshen
|
f8b9679d74
|
feat(prettier): print module specifiers (#1383)
|
2023-11-17 22:03:28 +08:00 |
|
Cameron
|
001a8d8fe9
|
feat(prettier) print array pattern (#1382)
|
2023-11-17 21:56:41 +08:00 |
|
Cameron
|
6d0e647c13
|
feat(prettier) print TS literals (#1380)
|
2023-11-17 21:23:27 +08:00 |
|
Cameron
|
e3c8b12bbb
|
feat(prettier) print simple types (#1379)
|
2023-11-17 21:17:26 +08:00 |
|
Boshen
|
9a21d1af7b
|
feat(prettier): print ExportAllDeclaration (#1381)
|
2023-11-17 13:16:55 +00:00 |
|
Cameron
|
a305b84143
|
feat(prettier) types backbone (#1378)
|
2023-11-17 21:11:26 +08:00 |
|
Boshen
|
1dcd29a91b
|
feat(prettier): support endOfLine option (#1377)
|
2023-11-17 20:50:17 +08:00 |
|
Cameron
|
5f5926e0ba
|
feat(prettier) Use minimum amount of escapes in strings (#1376)
```ts
[
"foo",
'bar',
"bar'",
'bar\'',
'bar"',
"bar\"",
"bar\"\"\"''",
"bar\"\"\"'''",
]
```
Becomes:
```ts
["foo", "bar", "bar'", "bar'", 'bar"', 'bar"', 'bar"""\'\'', "bar\"\"\"'''"];
```
|
2023-11-17 20:44:17 +08:00 |
|