Commit Graph
7875 Commits
Author SHA1 Message Date
fisker Cheung daeb90f1ca Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/language-css/printer-postcss.js
#	src/language-handlebars/printer-glimmer.js
#	src/language-markdown/clean.js
#	src/language-markdown/printer-markdown.js
#	yarn.lock
2022-12-15 19:16:59 +08:00
b50dfd1974 fix: preserve empty lines between nested SCSS maps (#13931)
Co-authored-by: Jeremy Neander <jeremy.neander@glassdoor.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:54:47 +08:00
HonkingGooseandfisker Cheung d24d74930e Rewrite sentence (#13686)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:52:09 +08:00
Derek Lewisandfisker Cheung 44db370ca6 Don't lowercase Markdown link definition labels (#13155)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:51:19 +08:00
James C. Davis 40d0f27055 [handlebars] allow custom "else if"-like with block params (#13930) 2022-12-15 14:50:51 +08:00
David De Sloovereandfisker Cheung df1f6ad1ac Update Husky.Net info (#13883)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:50:24 +08:00
fisker Cheung 521de3bf4d Don't run scheduled workflows in forks (#13981) 2022-12-12 17:26:29 +08:00
fisker Cheung fefc9e142d Improve TypeScript error location (#13983) 2022-12-12 17:26:11 +08:00
fisker Cheung f2701a3d6f TypeScript: Throw errors for invalid modifiers (#13929) 2022-12-12 16:38:45 +08:00
renovate[bot]andfisker Cheung 256e2c78c1 Update dependency esbuild to v0.16.4 (#13972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-12 12:37:25 +08:00
renovate[bot] 132f2d5911 Update typescript-eslint to v5.46.0 (#13975)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 09:04:38 +08:00
renovate[bot] f3b34b127d Update dependency typescript to v4.9.4 (#13968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:53:41 +08:00
renovate[bot] 7248f16f97 Update dependency @types/jest to v29.2.4 (#13966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:50:59 +08:00
renovate[bot] f1b93f70e5 Update dependency webpack-cli to v5.0.1 (#13969)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:50:38 +08:00
renovate[bot] a310cccb7e Update dependency @angular/compiler to v15.0.3 (#13965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:49:53 +08:00
renovate[bot] 12953b4a46 Update dependency chalk to v5.2.0 (#13970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:49:34 +08:00
renovate[bot] 6bebcf221e Update dependency flow-parser to v0.195.1 (#13967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:49:17 +08:00
renovate[bot] e26c476dc4 Update dependency cspell to v6.17.0 (#13971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:48:57 +08:00
renovate[bot] 7c41abf9a4 Update dependency eslint-plugin-n to v15.6.0 (#13974)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:48:38 +08:00
renovate[bot] 807f20501d Update dependency postcss to v8.4.20 (#13979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:48:09 +08:00
renovate[bot] 5ae221df01 Update dependency esbuild-visualizer to v0.4.0 (#13973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:47:49 +08:00
renovate[bot] b34da8ff5e Update dependency flow-parser to v0.195.0 (#13945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 15:03:23 +08:00
Sosuke Suzuki b237e464e1 Update deps 2022-12-08 22:10:19 +09:00
Sosuke Suzuki 812ceb7657 Update visitor-keys tests 2022-12-08 22:03:33 +09:00
Sosuke Suzuki a8869bef55 Merge branch 'main' into next 2022-12-08 22:00:17 +09:00
Alex Rattray 28d097bbf5 Add test cases for questioning ternaries (#13952)
## Description

Extracts test cases that I added for https://github.com/prettier/prettier/pull/13183 to make it easier to visualize the changes that PR makes, as @vjeux [requested](https://github.com/prettier/prettier/pull/13183#discussion_r990820889).

## Checklist

<!-- Please ensure you’ve done all of these things (if applicable). -->
<!-- You can replace the `[ ]` with `[x]` to mark each task as done. -->

- [x] I’ve added tests to confirm my change works.
- [x] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/main/CONTRIBUTING.md).

<!-- Please DO NOT remove the playground link -->

**✨[Try the playground for this PR](https://prettier.io/playground-redirect)✨**
2022-12-07 15:46:40 -05:00
Sosuke Suzuki 26b5273833 Revert removing version validation 2022-12-08 02:31:38 +09:00
Sosuke Suzuki be4dd620bf Clean changelog_unreleased 2022-12-08 02:31:11 +09:00
Sosuke Suzuki 804e5a75f3 Git blame ignore 2.8.1 2022-12-08 02:29:25 +09:00
Sosuke Suzuki b87de09bcf Bump Prettier dependency to 2.8.1 2022-12-08 02:29:25 +09:00
Sosuke Suzuki 80c3ec14ee Update dependents count 2022-12-08 02:29:08 +09:00
Sosuke Suzuki cd1df1a184 Release 2.8.1 2022-12-08 02:22:06 +09:00
Sosuke Suzuki 5541a63d76 Remove version validation 2022-12-08 01:48:48 +09:00
Sosuke Suzukiandfisker Cheung 1cf760a184 Support decorator auto accessors syntax (#13919)
* Install new ts-estree

* Print auto accessor properties

* Support edge cases

* Misc tests

* Add tests for auto accessor with type annotations

* Add changelog

* Update changelog_unreleased/typescript/13919.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Update changelog_unreleased/typescript/13919.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Print semicolon for accessor and add tests

* Add TODO comment

* Add  to properties list

* Address review

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-05 20:50:15 +09:00
Sosuke Suzuki 2d655b03ad Merge branch 'main' into next 2022-12-05 17:56:47 +09:00
Łukasz Rabiec aa34209820 test: format instantiation expr in logical expr (#13897) 2022-12-05 17:46:52 +09:00
renovate[bot]andfisker Cheung 0aceb64c6d Update dependency @babel/parser to v7.20.5 (#13939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-05 14:09:26 +08:00
dependabot[bot]andfisker Cheung 44480811e2 Set github/codeql-action to v2 (#13935)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-05 10:30:38 +08:00
renovate[bot] e68d3bf5b4 Update babel to v7.20.5 (#13937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:26:41 +08:00
renovate[bot] c52d585f69 Update dependency magic-string to v0.27.0 (#13946)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:23:46 +08:00
renovate[bot] fdb99161c9 Update dependency eslint to v8.29.0 (#13944)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:22:22 +08:00
renovate[bot] 6625ae974d Update dependency cspell to v6.16.0 (#13943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:18:42 +08:00
renovate[bot] 08f31da285 Update dependency @angular/compiler to v15.0.2 (#13938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:18:20 +08:00
renovate[bot] 8fbb48b53b Update dependency eslint-plugin-unicorn to v45.0.1 (#13941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:18:04 +08:00
dependabot[bot] 46389d1313 Build(deps): Bump dessant/lock-threads from 3 to 4 (#13936)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 10:16:45 +08:00
renovate[bot] 68bb253756 Update dependency esbuild to v0.15.18 (#13940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:14:09 +08:00
fisker Cheung 3e49250841 Update flow-parser to v0.194.0 (#13928) 2022-12-05 10:11:01 +08:00
renovate[bot] 907c0eb26f Update dessant/support-requests action to v3 (#13949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 10:10:24 +08:00
dependabot[bot] 957b4f20e8 Build(deps): Bump decode-uri-component from 0.2.0 to 0.2.2 in /website (#13933)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 13:14:00 +00:00
fisker Cheung 1f9206f219 Merge branch 'main' into next
# Conflicts:
#	src/language-js/print/statement.js
2022-12-01 18:00:40 +08:00