Commit Graph
6975 Commits
Author SHA1 Message Date
Pete Meehanandfisker Cheung a60bee2e2d Add '--single-attribute-per-line' option to Playground (#13587)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-11-24 09:59:39 +08:00
Sosuke Suzuki 9c45de6842 Clean changelog 2022-11-23 14:11:13 +09:00
Sosuke SuzukiandGeorgii Dolzhykov ebd4542d59 2.8 blog post (#13813)
* Draft

* Update

* Generate

* Add `truncate`

* Address review

* Regen

* Update

* Reword changelog for #13016

* Edit intro

* Edit changelog for #13019

* Regenerate blog post

* Address review

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2022-11-23 14:01:45 +09:00
Sosuke Suzuki a34272d32f Validate version 2022-11-23 13:54:54 +09:00
Sosuke Suzuki 94c25d9e5e Git blame ignore 2.8.0 2022-11-23 13:53:57 +09:00
Sosuke Suzuki 4049e49fe2 Bump Prettier dependency to 2.8.0 2022-11-23 13:53:57 +09:00
Sosuke Suzuki 595fbafb99 Update dependents count 2022-11-23 13:53:37 +09:00
Sosuke Suzuki dcc0623911 Release 2.8.0 2022-11-23 13:24:27 +09:00
Sosuke Suzuki 7f7498109b Remove version validattion temp 2022-11-23 13:20:49 +09:00
Sosuke Suzuki 876c297589 Update changelog for satisfies (#13879)
Address review
2022-11-22 15:25:52 +09:00
Sosuke Suzuki fd376000e9 Update @typescript-eslint/typescript-estree to support satisfies (#13872)
* Update to `5.43.1-alpha.22`

* Update snapshots for satisfies

* Update changelog

* Remove `@ts-expect-error` comment

* Yarn dedupe

* Update to stable version

* Fix changelog

* Fix changelog
2022-11-22 15:19:28 +09:00
dependabot[bot] fac87619a4 Build(deps): Bump minimatch from 3.0.4 to 3.1.2 in /scripts/release (#13854)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 12:10:49 +08:00
fisker Cheung 68ea881498 Update typescript to v4.9 (#13852) 2022-11-18 09:54:48 +08:00
Sosuke Suzuki 5e0b88329e Fix generate truncate comment (backport #13437) (#13814)
Fix generate truncate comment
2022-11-06 18:59:10 +09:00
Sosuke Suzuki a980caa7db Add missing changelog for #13016 (#13812)
* Add missing changelog

* Fix
2022-11-06 18:48:44 +09:00
Sosuke Suzuki 520dbcd36e Add changelog for #13783 (#13811)
* Add changelog

* Fix
2022-11-06 17:54:43 +09:00
fisker Cheung ae4d85ab3c Update description of vueIndentScriptAndStyle option (#13781) 2022-11-04 11:14:12 +08:00
Sosuke Suzuki ff0529ac2e Backport "Support TS4.9 satisfies operator (#13764)" (#13783) 2022-11-04 10:35:50 +08:00
MillyandSosuke Suzuki ca246aface Fix --cache set only if with --write or no-different (#13016)
* Fixed typo

* Return early if file does not exist

* Added tests for cache

* Added `mockWriteFileErrors` option to run helper

* Added tests for write error

* Remove files with differences from cache

* Add `getCliArguments` utility function

Refactor

* Fix lint

* Revert "Fix lint"

This reverts commit 18be64b7c42cd669496d59ff64bd534b8e03c3df.

* Revert "Add `getCliArguments` utility function"

This reverts commit d653fe10a92390102ae97cb43b2efcbb5c3c9140.

* Refactor with `cliArguments` variable

Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2022-10-24 23:55:36 +09:00
Anders Kaseorg f38111fec6 markdown: Preserve inline code line breaks if --prose-wrap=preserve (#11373) 2022-10-09 16:53:12 +03:00
Jed Fox bfb09bf214 Format pseudo-selector args like a function call (#13577) 2022-10-02 11:11:44 -04:00
2bbbe1a8d1 Improve MDX range ignore support (#12208)
Co-authored-by: Nick Rutten <nickrttn@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-28 10:02:17 +08:00
James C. Davisandfisker Cheung 38611cb16e [handlebars] correctly format custom "else if" blocks (#13507)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-26 11:04:50 +08:00
fisker Cheung 2bc757554b Update acorn & espree (#13506) 2022-09-22 19:11:34 +08:00
fisker Cheung 8764a3d378 Improve typescript bundle speed (#13433) 2022-09-22 19:11:19 +08:00
fisker Cheung b0d9387b95 Fix unpkg link (#13484) 2022-09-17 20:32:03 +08:00
fisker Cheung cd3e530c2e Reduce size of parser-typescript.js (#13431) 2022-09-06 20:38:50 +08:00
fisker Cheung 371c7093d0 Group @typescript-eslint/* dependencies in renovate config (#13430) 2022-09-06 14:40:59 +08:00
dependabot[bot] c51d509560 Build(deps): Bump node-fetch from 3.2.3 to 3.2.10 in /scripts/release (#13411)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.10.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.10)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

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-09-03 17:18:01 +08:00
dependabot[bot] ed4c3c19eb Build(deps-dev): Bump node-fetch from 3.2.3 to 3.2.10 (#13408)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.10.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.10)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

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-09-03 17:16:12 +08:00
Ryan Vandersmith 98b93cfb03 Add prettier-plugin-motoko to community plugin list (#13406) 2022-09-02 09:03:52 +08:00
Sosuke Suzuki 68bd87b24b Fix generated changelog comment for css like syntax (#13403)
Fix generated comment for css like syntax
2022-08-31 00:59:20 +09:00
Simon Legnerandfisker Cheung 9850bc6af3 docs(configuration): linkfix (#12005)
* docs(configuration): linkfix

* Link to the `overrides` section in new ESLint website

* Update stable version docs too

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-29 16:24:02 +03:00
Dinika f48f514deb Update integrating-with-linters.md (#12363) 2022-08-29 16:21:18 +03:00
Adrian Leonhard e4af667e03 docs: plugins.md: add getCommentChildNodes (#12502) 2022-08-29 15:06:41 +03:00
5a627651ff fix: line breaks in multiline strings, issue 13157 (#13274)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: Gleb Dolzhikov <gleb.dolzhikov@ix.co>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-23 20:56:52 +08:00
Joe a2a3849c43 Added prettier-plugin-nginx to Community Plugins list (#13320)
Added [`prettier-plugin-nginx`](https://github.com/joedeandev/prettier-plugin-nginx) to Community Plugins list.
2022-08-21 15:48:37 +08:00
Gleb DolzhikovandGleb Dolzhikov f2244bdc86 Fix parens in inferred function return types with extends (#13289)
Co-authored-by: Gleb Dolzhikov <9276677@gmail.com>
2022-08-17 18:36:25 +03:00
José Pereiraandfisker Cheung 2d3a274847 fix: extra space between '#' and '{' (#13286)
* fix: extra space between '#' and '{'

* Update src/language-css/printer-postcss.js

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

* adding changelog

* Update 13286.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-17 23:32:29 +09:00
Nikolas 5910eb9204 Add prettier-plugin-prisma to list of community plugins (#13272) 2022-08-15 18:18:37 +08:00
Caleb Jasik 0f19075f5f Add prettier-plugin-astro to list of plugins (#13269)
* Add prettier-plugin-astro to list of plugins

* Order the plugin correctly alphabetically

* Update creator text/link

* Update cspell dictionary
2022-08-12 17:18:55 +09:00
t-mangoeandSosuke Suzuki 00ec91bfde Added condition for '+' case. (#13115)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-08-08 01:08:28 +08:00
Georgii Dolzhykov 67efa96da6 Custom parser API: deprecation notice (#13252) 2022-08-07 14:12:17 +03:00
Georgii Dolzhykovandfisker 2c77149e6a Add benchmark script (#13224)
Co-authored-by: fisker <lionkay@gmail.com>
2022-08-06 11:25:34 +08:00
Georgii Dolzhykov bbbeeb07f6 Playground: "Rethrow embed errors" checkbox (#13227) 2022-08-05 17:05:50 +03:00
Sam Apostel 765cae2552 Docs: Use npm pkg set instead of deprecated npm set-script (#13186) 2022-08-01 10:26:23 +08:00
Sosuke SuzukiandHolger Jeromin 955553bb39 Add --cache-location option (#13019)
* Implement searching cache file from `--cache-location` option

* Add tests

* Add docs

* Fix

* Fix doc

* Add changelog

* Update snapshots

* Update docs

* Update docs/cli.md

Co-authored-by: Holger Jeromin <mailgithub@katur.de>

* Fix changelog

* Remove directory support

* Update docs

* Update tests

* Update docs

* Add validation for dir

* Fix comment

* Update option description

* Validate JSON

* Use `path.resolve`

Co-authored-by: Holger Jeromin <mailgithub@katur.de>
2022-07-31 22:58:05 +09:00
JounQin 6e1effadda docs: add sql plugin (#13184) 2022-07-29 01:46:35 +09:00
jinxdash 80ec70f81f Add rust to community plugins (#13180)
Add prettier-plugin-rust
2022-07-28 13:06:11 +03:00
Georgii Dolzhykov cd9955f143 Fix range format for function bodies (#13173) 2022-07-25 12:28:24 +03:00