fisker Cheung
164eab2f86
Merge branch 'main' into next
2023-02-23 10:29:52 +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
e0fb241467
Rename variables for shared util ( #14323 )
2023-02-10 14:24:38 +08:00
fisker Cheung
e9ae01a6da
Update prettier.util.{isPreviousLineEmpty,isNextLineEmpty} ( #14320 )
2023-02-10 14:23:42 +08:00
fisker Cheung
caf6f6c64c
Add getNextNonSpaceNonCommentCharacter to prettier.util ( #14317 )
2023-02-09 17:21:36 +08:00
fisker Cheung
b1ef30dd17
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# package.json
# src/language-js/comments/handle-comments.js
# src/language-js/needs-parens.js
# src/language-js/print/type-parameters.js
# yarn.lock
2023-02-08 12:37:23 +08:00
fisker Cheung
e681edb67c
Release 2.8.4
2023-02-08 11:04:32 +08:00
Riad Krim
f602be5a47
Update embeddedLanguageFormatting option documentation ( #14048 )
2023-01-31 08:16:17 +08:00
fisker Cheung
a26e8ace46
Resolves config by default in getFileInfo() ( #14108 )
2023-01-30 09:59:19 +08:00
fisker Cheung
b332654039
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# src/language-html/parser-html.js
# src/language-js/print/jsx.js
# src/language-js/print/typescript.js
# website/yarn.lock
# yarn.lock
2023-01-16 15:53:36 +08:00
fisker
c990e522ce
Release 2.8.3
2023-01-14 11:33:26 +08:00
fisker Cheung
0cd7e10447
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# src/language-js/print/literal.js
# src/language-js/print/misc.js
# src/language-js/printer-estree.js
# tests/format/markdown/auto-link/jsfmt.spec.js
# yarn.lock
2023-01-10 09:38:45 +08:00
Sosuke Suzuki
ac88438d65
Release 2.8.2
2023-01-07 20:15:48 +09:00
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
David De Sloovere and fisker Cheung
df1f6ad1ac
Update Husky.Net info ( #13883 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-12-15 14:50:24 +08:00
Sosuke Suzuki
a8869bef55
Merge branch 'main' into next
2022-12-08 22:00:17 +09:00
Sosuke Suzuki
cd1df1a184
Release 2.8.1
2022-12-08 02:22:06 +09:00
fisker Cheung
52fbecc89b
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# package.json
# yarn.lock
2022-11-23 19:44:31 +08:00
Sosuke Suzuki
dcc0623911
Release 2.8.0
2022-11-23 13:24:27 +09:00
fisker Cheung
9411aa2e47
Merge branch 'main' into next
...
# Conflicts:
# changelog_unreleased/typescript/13764.md
# package.json
# scripts/release/yarn.lock
# src/language-js/parse/postprocess/typescript.js
# yarn.lock
2022-11-18 14:27:23 +08:00
fisker Cheung
ae4d85ab3c
Update description of vueIndentScriptAndStyle option ( #13781 )
2022-11-04 11:14:12 +08:00
Mark Avery
284cdf4c3d
Style: updated failure message to be more formal ( #11369 )
2022-10-25 12:26:41 +03:00
fisker Cheung
2d23d33a40
Remove since from options and languages ( #13699 )
2022-10-23 11:18:36 +08:00
fisker Cheung and Sosuke Suzuki
31a796d32c
Restructure package files, add exports ( #13530 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-10-06 15:20:19 +08:00
fisker Cheung
822f354ceb
Update docs ( #13309 )
2022-09-26 19:28:43 +08:00
fisker Cheung
7ccc4f55f2
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/modify-typescript-module.mjs
# yarn.lock
2022-09-22 19:17:55 +08:00
fisker Cheung
b0d9387b95
Fix unpkg link ( #13484 )
2022-09-17 20:32:03 +08:00
fisker Cheung
151ab582b5
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/release/yarn.lock
# yarn.lock
2022-09-06 19:22:51 +08:00
Ryan Vandersmith
98b93cfb03
Add prettier-plugin-motoko to community plugin list ( #13406 )
2022-09-02 09:03:52 +08:00
Simon Legner and fisker 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
fisker Cheung
0b072060b5
Merge branch 'main' into next
...
# Conflicts:
# src/language-js/print/flow.js
# src/language-js/print/literal.js
2022-08-26 10:29:09 +08:00
fisker Cheung
db21497592
Docs: Fix handleComments function signature ( #13308 )
2022-08-25 19:17:38 +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
fisker Cheung
5fa0802315
Add getVisitorKeys ( #13255 )
2022-08-17 09:47:08 +08:00
fisker Cheung
86424ccc22
Remove the parsers argument for plugin.parsers.parse ( #13268 )
2022-08-16 09:52:27 +08: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
fisker Cheung
a054eb3868
Make prettier.clearConfigCache async ( #13265 )
2022-08-11 14:13:13 +08:00
fisker Cheung and Georgii Dolzhykov
0b9cb96f58
Remove support for custom parser api ( #13250 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2022-08-08 01:09:10 +08:00
Georgii Dolzhykov
67efa96da6
Custom parser API: deprecation notice ( #13252 )
2022-08-07 14:12:17 +03:00
Georgii Dolzhykov and fisker Cheung
4d5b645e0e
Support async parser for embedded languages ( #13211 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-08-07 00:45:06 +08:00
fisker Cheung
5aadab6f28
Support ESM plugins ( #13201 )
2022-08-06 10:42:27 +08:00
fisker Cheung
cdb1494170
Revert "Switch print/embed to async ( #13104 )" ( #13210 )
2022-08-02 18:11:34 +08:00
Sosuke Suzuki
b12396d69a
Change --loglevel to --log-level ( #13204 )
...
* Change `--loglevel` to `--log-level`
* Update tests
* Update docs
* Add changelog
2022-08-02 09:39:41 +09:00
fisker Cheung
298347c9fb
Merge branch 'main' into next
...
# Conflicts:
# netlify.toml
# src/cli/find-cache-file.js
# src/cli/utils.js
# src/main/parser.js
# website/playground/PrettierFormat.js
# website/static/worker.js
2022-08-01 11:27:34 +08:00
fisker Cheung
83400d19b4
Change default value of trailingComma to "all" ( #11479 )
2022-08-01 11:05:17 +08:00
fisker Cheung
44d246a2a2
Support config file in ESM ( #13130 )
2022-08-01 10:51:31 +08:00
Sam Apostel
765cae2552
Docs: Use npm pkg set instead of deprecated npm set-script ( #13186 )
2022-08-01 10:26:23 +08:00