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
|
781cd5a21a
|
chore: cleanup labeler.yml
|
2023-11-19 00:36:27 +08: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
|
24c2580435
|
chore(prettier_conformance): remove stage 3 features
|
2023-11-18 16:13:12 +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 |
|
Boshen
|
8828b93ba0
|
ci: move e2e tests to its own ci
|
2023-11-18 09:42:50 +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 |
|
Boshen
|
7e9adeb222
|
ci: fix labeler
|
2023-11-17 21:19:14 +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 |
|
Dunqing
|
7b85843981
|
feat(task/prettier-conformance): add spacing before block in IfStatement (#1374)
|
2023-11-17 20:19:26 +08:00 |
|
Dunqing
|
badf6f51cf
|
feat(task/prettier-conformance): splitting test cases by file (#1373)
|
2023-11-17 20:14:00 +08:00 |
|
Boshen
|
2d3b5eb299
|
feat(prettier): add comments before expressions (#1375)
|
2023-11-17 19:38:25 +08:00 |
|