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 Jamison and fisker 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. Davis and fisker 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
Sosuke Suzuki
dc187f1936
Update dependents count
2023-01-07 20:21:43 +09:00
Sosuke Suzuki
ac88438d65
Release 2.8.2
2023-01-07 20:15:48 +09:00
fisker Cheung
aaf919014f
Fix comments after directive ( #14081 )
2023-01-07 16:43:44 +08:00
fisker Cheung
9e09a78cf5
Stop inserting space in LESS property access ( #14103 )
2023-01-07 16:43:15 +08:00
Sosuke Suzuki and fisker Cheung
0c5d4f3458
Fix removing commas from function arguments in maps ( #14089 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-01-06 17:13:41 +09:00
Cyrille David
b77d912c0c
ember / glimmer: Preserve self-closing tags ( #13691 )
2023-01-04 18:51:39 +08:00
Cyrille David
cf36209a27
Handlebars: Add tests for {{! prettier-ignore}} ( #13693 )
2023-01-04 18:49:24 +08:00
fisker Cheung
f8e1ad806c
Add parens to head of ExpressionStatement instead of whole statement ( #14077 )
2023-01-04 15:22:12 +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říšek and fisker 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
fisker Cheung
af3d6fa80b
Quote numeric keys for json-stringify parser ( #14083 )
2023-01-03 10:47:30 +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
0024 and fisker 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
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
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