Commit Graph
7077 Commits
Author SHA1 Message Date
Seiyaandfisker 1bf47c1e95 Format TS expressions when any script tag has lang="ts" (#14587)
Co-authored-by: fisker <lionkay@gmail.com>
2023-03-27 10:47:54 +08:00
fisker dd779dae55 Merge branch 'patch-release'
# Conflicts:
#	.git-blame-ignore-revs
#	package.json
#	yarn.lock
2023-03-24 16:24:07 +08:00
fisker 353e3ac64c Clean changelog 2023-03-24 16:20:25 +08:00
fisker 5ed59be7bd Git blame ignore 2.8.7 2023-03-24 16:17:50 +08:00
fisker 0e26a75ebf Bump Prettier dependency to 2.8.7 2023-03-24 16:17:49 +08:00
fisker 543a9d71a7 Release 2.8.7 2023-03-24 16:11:52 +08:00
fisker Cheung f9fae7f34c Allow multiple decorators on same getter/setter (#14584) 2023-03-24 16:08:46 +08:00
Michael Voříšekandfisker Cheung c6e026ea28 Fix line break in CSS declaration with comma (#14208)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-03-23 09:27:14 +08:00
fisker 546105732a Clean changelog 2023-03-21 16:21:00 +08:00
fisker 6c06cff8a9 Git blame ignore 2.8.6 2023-03-21 16:20:19 +08:00
fisker 0461cdd814 Bump Prettier dependency to 2.8.6 2023-03-21 16:20:18 +08:00
fisker 10fe1ed623 Release 2.8.6 2023-03-21 16:14:26 +08:00
fisker Cheung 44aef0b1ba Allow decorator on private members and class expressions (#14548) 2023-03-21 16:13:11 +08:00
fisker ddf3b43c33 Clean changelog 2023-03-20 14:09:05 +08:00
fisker 71ba29f22b Git blame ignore 2.8.5 2023-03-20 14:08:34 +08:00
fisker c1808e86a3 Bump Prettier dependency to 2.8.5 2023-03-20 14:08:34 +08:00
fisker 0a79535916 Release 2.8.5 2023-03-20 14:01:10 +08:00
fisker Cheung 019ebe5207 Support TypeScript 5 (backport #14391 and #13819) (#14512) 2023-03-20 13:57:48 +08:00
Joseph Frazier e7b383b570 Support max_line_length=off when parsing .editorconfig (#14516)
This fixes https://github.com/prettier/prettier/issues/14514 by
upgrading `editorconfig-to-prettier` with the fix from https://github.com/josephfrazier/editorconfig-to-prettier/pull/10
2023-03-18 12:55:30 -04:00
dependabot[bot] 5446a8f32a Build(deps-dev): Bump webpack from 5.73.0 to 5.76.0 in /website (#14511)
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 08:07:04 +08:00
dependabot[bot] 03f0b90cb9 Build(deps-dev): Bump webpack from 5.70.0 to 5.76.0 in /scripts/tools/bundle-test (#14510)
Build(deps-dev): Bump webpack in /scripts/tools/bundle-test

Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 07:56:06 +08:00
MaximAL 0894348de8 Add note about SmartTabs (#14428)
I think it’s worth noticing for those who search for SmartTab-related tool (as I did, for example).
2023-03-11 23:52:59 +09:00
fisker Cheung f1b18f2319 Add parentheses to TypeofTypeAnnotation (#14458) 2023-03-08 09:16:03 +08:00
Rene Saarsoo 3d706379ed Include prettier-plugin-sql-cst to community plugins list (#14408) 2023-03-02 09:46:08 +08:00
fisker Cheung bc098779c4 Add missing parentheses for decorator (#14393) 2023-02-24 09:20:34 +08:00
Scotty Jamisonandfisker Cheung 2a5b391cc0 Explain ASI issues aren't always auto-fixed (#14174)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-02-18 11:14:18 +08:00
fisker Cheung cf409fe6a4 Clean changelog 2023-02-08 11:19:08 +08:00
fisker Cheung 4e88dd1510 Git blame ignore 2.8.4 2023-02-08 11:14:52 +08:00
fisker Cheung f3b23ab63c Bump Prettier dependency to 2.8.4 2023-02-08 11:14:51 +08:00
fisker Cheung e681edb67c Release 2.8.4 2023-02-08 11:04:32 +08:00
fisker Cheung 6bb24b2c5a Fix leading comments in mapped types with readonly (Cherry-pick #13427) (#14310) 2023-02-08 09:40:59 +08:00
fisker Cheung 399f2fae40 Add changelog for #14206 (#14311) 2023-02-08 09:40:23 +08:00
fisker Cheung 9842b29ca3 Recognize @satisfies in Closure-style type casts (#14262) 2023-02-07 15:19:09 +08:00
fisker Cheung bc18fa4397 Fix incorrect removal of parentheses when using an infer with a constraint in a function predicate (#14279) 2023-02-06 11:17:48 +08:00
Riad Krim f602be5a47 Update embeddedLanguageFormatting option documentation (#14048) 2023-01-31 08:16:17 +08:00
James C. Davisandfisker Cheung 37fb53acf3 [handlebars] group params in opening block statements (#14067)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-28 09:23:40 +08:00
fisker Cheung 310a5b1ba5 Handlebars: Improve HTML void element check (#14110) 2023-01-22 21:50:42 +08:00
Michael Bolin 62195dd1f2 Add .sl to the list of silentlyIgnoredDirs (#14206)
In [Sapling SCM](https://sapling-scm.com/), `.sl/` is the folder where it stores its state,
analogous to `.git/` in Git. It should be ignored in Prettier like the other SCM folders.
2023-01-19 11:10:22 -08:00
fisker bf406f7728 Clean changelog 2023-01-14 11:44:30 +08:00
fisker 878e8f57ff Git blame ignore 2.8.3 2023-01-14 11:42:15 +08:00
fisker 9e9f8ec13f Bump Prettier dependency to 2.8.3 2023-01-14 11:42:14 +08:00
fisker c990e522ce Release 2.8.3 2023-01-14 11:33:26 +08:00
fisker Cheung 4ad9160891 Angular: allow self-closing tags on custom elements (#14170)
Fixes https://github.com/prettier/prettier/issues/14168
2023-01-14 10:57:39 +08:00
fisker Cheung 06ea1ac0d0 Stricter node type check (#14165) 2023-01-14 01:07:42 +08:00
c1b976572c feat: add copy to clipboard in code blocks (#14153)
* feat: add copy to clipboard in code blocks

* Use the same style as docusaurus v2

* Remove style from siteConfig.js

* Fix typo

* Disable button on copied

Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-12 18:01:07 +02:00
fisker Cheung 3ef82ae06b Remove and ignore .node-version file (#14143) 2023-01-10 09:28:06 +08:00
Sosuke Suzuki a37ce0b8f6 Clean changelog_unreleased (#14144)
Clean changelog
2023-01-09 16:48:32 +09:00
Boris Petrov 4cf4c2c563 Fix typo in CHANGELOG (#14137) 2023-01-09 15:08:34 +08:00
Sosuke Suzuki 26b45e361f Git blame ignore 2.8.2 2023-01-07 20:22:01 +09:00
Sosuke Suzuki b9c3cd4c70 Bump Prettier dependency to 2.8.2 2023-01-07 20:22:01 +09:00