Commit Graph
7967 Commits
Author SHA1 Message Date
renovate[bot] 164bfbf6ea chore(deps): update dependency esbuild to v0.16.16 (#14125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 10:18:24 +08:00
renovate[bot] 5ec4f600ec chore(deps): update dependency babel-loader to v9.1.2 (#14123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:37:42 +08:00
renovate[bot] a11a7ba771 chore(deps): update dependency @babel/core to v7.20.12 (#14122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:37:17 +08:00
renovate[bot] 10789f4841 chore(deps): update dependency ci-info to v3.7.1 (#14124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:32:05 +08:00
renovate[bot] 8f2cbcfc51 chore(deps): update dependency eslint-plugin-jest to v27.2.1 (#14126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:31:56 +08:00
renovate[bot] 32b070c361 chore(deps): update actions/checkout action to v3.3.0 (#14130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:31:32 +08:00
renovate[bot] 78f8a3dfc7 chore(deps): update actions/download-artifact action to v3.0.2 (#14120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:30:51 +08:00
renovate[bot] 29c90504b7 chore(deps): update actions/upload-artifact action to v3.1.2 (#14121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:30:24 +08:00
renovate[bot] 9317010fc9 chore(deps): update dependency import-meta-resolve to v2.2.1 (#14127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:29:54 +08:00
renovate[bot] f631b65173 chore(deps): update dependency postcss to v8.4.21 (#14128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:29:35 +08:00
renovate[bot] 77849631ba Update actions/setup-node action to v3.6.0 (#14131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:24:39 +08:00
renovate[bot] ba86ff4dc9 Update dependency eslint-config-prettier to v8.6.0 (#14132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:23:58 +08:00
renovate[bot] 60968a64f5 Update dependency eslint-plugin-regexp to v1.12.0 (#14133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:23:36 +08:00
fisker Cheung 2f72344944 Refactor Enum print (#14045) 2023-01-04 16:25:41 +08:00
fisker Cheung acb7354f85 Merge branch 'main' into next
# Conflicts:
#	src/language-js/needs-parens.js
2023-01-04 16:02:27 +08:00
fisker Cheung f8e1ad806c Add parens to head of ExpressionStatement instead of whole statement (#14077) 2023-01-04 15:22:12 +08:00
fisker Cheung 18264762fd Move cursor tracking from printComments to printAstToDoc (#13915) 2023-01-04 15:15:02 +08:00
fisker Cheung 23b0381a3d Use printOptionalToken in printIndexedAccessType (#14078) 2023-01-04 15:09:02 +08:00
fisker Cheung 468c514ba2 Fix inconsistent between array/tuple and object/record (#14065) 2023-01-04 15:07:07 +08:00
fisker Cheung f65768d00a Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/release/yarn.lock
#	src/language-css/parser-postcss.js
#	src/language-css/printer-postcss.js
#	src/language-js/print/jsx.js
#	src/language-json/printer-estree-json.js
#	website/yarn.lock
#	yarn.lock
2023-01-04 14:25:53 +08:00
dependabot[bot] 8034bada96 Build(deps): Bump json5 from 2.2.0 to 2.2.3 in /scripts/release (#14104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 18:46:14 +08:00
dependabot[bot] 31d40104f4 Build(deps): Bump json5 from 2.2.1 to 2.2.3 in /website (#14101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 14:19:41 +08:00
Michael Voříšekandfisker Cheung 41cee0636e Do not change case of property name if inside a variable declaration in LESS (#14034)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-03 13:32:00 +08:00
dependabot[bot] 0e25b13a28 Build(deps): Bump json5 from 2.2.1 to 2.2.2 (#14098)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 13:30:38 +08:00
renovate[bot] 9dcd3ebb67 chore(deps): update dependency @types/jest to v29.2.5 (#14091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 11:25:15 +08:00
fisker Cheung af3d6fa80b Quote numeric keys for json-stringify parser (#14083) 2023-01-03 10:47:30 +08:00
renovate[bot] 31a9ce3754 chore(deps): update dependency eslint to v8.31.0 (#14096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:30:49 +08:00
renovate[bot] 8a48348c14 chore(deps): update dependency cspell to v6.18.1 (#14092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:29:47 +08:00
renovate[bot] 590ad99210 chore(deps): update dependency json5 to v2.2.3 (#14094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:29:14 +08:00
renovate[bot] 4e3a0b7c4b chore(deps): update dependency eslint-plugin-jest to v27.2.0 (#14097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:27:50 +08:00
renovate[bot] 2b998992f9 chore(deps): update typescript-eslint to v5.48.0 (#14095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:27:36 +08:00
renovate[bot] 19f919e3d5 chore(deps): update dependency esbuild to v0.16.13 (#14093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 10:27:00 +08:00
Michael Voříšek efa6aa68b6 Fix semicolon duplicated at the end of LESS file (#14007)
Fix semicolon duplicated at the end of file
2022-12-30 17:09:55 +09:00
Sosuke Suzuki a5bd5579cb refactor: renameprintList to printHeritageList (#13645)
* Reanem `printList` to `printHeritageList`

* Rename
2022-12-30 15:32:20 +09:00
0024andfisker Cheung 369bf2a1c1 Fix to add parentheses for TSTypeQuery in some case (#14042)
* add TSTypeQuery to needsParens

* fix to lint prettier

* add test

* remove comment

* add changelog

* fix lint

* remove template comments at top in changelog

* Fix changelog

* Add new line

* check objectType

* remove  fallthrough comment

* check property name

* Simplify changelog

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-30 15:05:14 +09:00
fisker Cheung 6d7abe46e2 Minor refactor to printReturnOrThrowArgument (#14068) 2022-12-30 10:39:49 +08:00
fisker Cheung f8ccbd3030 Minor refactor (#14072) 2022-12-30 10:39:17 +08:00
fisker Cheung e301b1f9ce Fix comments inside JSX attributes (#14082)
Fixes https://github.com/prettier/prettier/issues/11242
2022-12-30 10:36:58 +08:00
fisker Cheung 5fe789631b Fix tests 2022-12-29 17:57:16 +08:00
fisker Cheung 9afa8544eb Merge branch 'main' into next
# Conflicts:
#	src/language-js/needs-parens.js
2022-12-29 17:50:50 +08:00
fisker Cheung 3e7c02b187 Minor refactor to printTernary (#14069) 2022-12-29 17:20:44 +08:00
fisker Cheung ef707da0a2 Fix formatting for auto-accessors with comments (#14038)
Fixes https://github.com/prettier/prettier/issues/14036
2022-12-29 17:17:54 +08:00
fisker Cheung 4176837f75 Add prefer-create-type-check-function rule (#14071) 2022-12-29 17:17:19 +08:00
fisker Cheung d798b55486 Improve let check in for..of (#14076) 2022-12-29 15:12:22 +08:00
fisker Cheung b6027f891f Merge printTupleType into printArray (#14064) 2022-12-29 14:34:27 +08:00
Georgii Dolzhykov 201e02e14e Fix displacing of comments in default switch case (#14047) 2022-12-29 10:13:02 +08:00
fisker Cheung 32d46d9fa1 Fix formatting of empty type parameters (#14073) 2022-12-29 10:11:50 +08:00
fisker Cheung bbb54ac283 Fix isExportDeclaration (#14070) 2022-12-29 10:11:14 +08:00
Michael Voříšek 4551fe6f6f Fix no space after unary minus when followed by opening parenthesis in LESS (#14008) 2022-12-29 10:07:12 +08:00
fisker Cheung 3aaafa7ecf Add ancestors getter and hasAncestor() to AstPath (#14004) 2022-12-28 14:48:25 +08:00