fisker Cheung
b0d9387b95
Fix unpkg link ( #13484 )
2022-09-17 20:32:03 +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
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
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
Georgii Dolzhykov
67efa96da6
Custom parser API: deprecation notice ( #13252 )
2022-08-07 14:12:17 +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 Suzuki and Holger 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
Georgii Dolzhykov
b65cb6c1f6
Playground: doc explorer ( #10183 )
2022-07-23 22:46:16 +03:00
fisker Cheung
eeed611c72
Release 2.7.1
2022-06-16 13:36:19 +08:00
fisker Cheung
59ec4f2ef4
Bump Prettier dependency to 2.7.0
2022-06-14 14:33:25 +08:00
fisker Cheung
13dcc16330
Release 2.7.0
2022-06-14 13:06:41 +08:00
Sosuke Suzuki and Simon Lydell
fdccc0f48e
Add --cache CLI option ( #12800 )
...
* Install `file-entry-cache` and types
* Implement `FormatResultsCache`
* Add `--cache` and `--cache-location` option
* Implement `--cache` and `--cache-location`
* Add tests for `--cache`
* Add tests for `--cache-location`
* Avoid spellcheck error
* Update snapshots for new options
* Add `groupBy` for website
* Use `fs.promises` instead of `fs/promises`
* Use `rimraf` instead of `fs.rm`
* Fix properties order of `options`
* Install `find-cache-dir` and types
* Change default cache file location to `node_modules/.cache/prettier`
* Fix tests following to change default cache file location
* Update snapshots for changing default cache file location
* Set `os.tmpdir()` as a fallback for default cache dir
* Add docs for `--cache` and `--cache-location`
* Use `sdbm` instead of `node:crypto`
* Add changelog
* Fix `getHashOfOptions`
* Remove `cache-location`
* `prettiercache` -> `prettier-cache`
* Remove cache file when run Prettier without `--cache` option
* Implement `--cache-strategy`
* Add tests for invalid cache strategy
* Fix lint problems
* Tweaks tests
* Add tests for timestamp
* Add tests for `--cache-strategy`
* Add docs for cache-strategy
* Address review
* Fix `findCacheFile`
* Use Set.prototype.has
* Throw error with --stdin-filepath
* Update snapshots
* Fix error for cache and stdin
* Use string constructor instead of toString
* Update changelog
* Use flag validation
* Fix `cache-strategy` definition
* Update docs
* Mark highlihgt
* Throw error for `--cache-strategy` without `--cache`
* Update docs
* Fix typo
* Updates snapshots
* Update docs/cli.md
Co-authored-by: Simon Lydell <simon.lydell@gmail.com >
* Fix error message
* Remove `:::` syntax
* Defaults `content`
* Update docs
* Fix by Prettier
Co-authored-by: Simon Lydell <simon.lydell@gmail.com >
2022-06-11 23:32:32 +09:00
Jed Fox
b188c905cf
Provide an example .editorconfig ( #12756 )
2022-05-02 12:37:05 -04:00
Adrian Leonhard
97cbdc3d1d
Add prettier-plugin-glsl to community plugins ( #12777 )
...
* Add prettier-plugin-glsl to community plugins
* add glsl to cspell.json
2022-05-02 21:48:58 +09:00
c50f2bbe30
Please describe what prettier ignores by default ( #12626 )
...
Co-authored-by: Szymon Dzialowski <sdzialowski@godaddy.com >
Co-authored-by: Szymon Dzialowski <sdzialowski@gmail.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-04-12 17:47:07 +08:00
Harry Hopkinson and fisker Cheung
f98c197b66
Print the number of files that need formatting. ( #12561 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-04-07 09:47:13 +08:00
Sosuke Suzuki
d6f82a024a
Release 2.6.2
2022-04-03 01:31:20 +09:00
a-kawasumi
63f1ee2c17
fix: delete tslint from docs ( #12538 )
2022-03-27 00:58:49 +09:00
Sosuke Suzuki
ad505bf771
Release 2.6.1
2022-03-25 13:58:22 +09:00
Sosuke Suzuki
cba25e6b09
Release 2.6.0
2022-03-16 13:09:58 +09:00
Ananta Krsna dasa
db1f4e473f
Mention Handlebars in the docs ( #12391 )
...
According to https://prettier.io/blog/2021/05/09/2.3.0.html#ember--handlebars , Handlebars support has been officially released, whereas it is not vividly mentioned on the main docs page.
2022-03-13 17:10:58 +09:00
Alexander Sennikov and fisker Cheung
2cde2dbf9d
Add prettier-plugin-jsonata to the Plugins page in docs ( #12347 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-02-22 09:47:46 +08:00
fisker Cheung and Alexander Kachkaev
3ba48bb266
Add --no-plugin-search ( #10274 )
...
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
2022-02-18 16:36:53 +08:00
Adam and fisker Cheung
331d278a3a
Update plugin docs ( #12259 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-02-07 15:44:47 -03:00
Benny Neugebauer
f19604a07e
docs(webstorm): Add image for Prettier as External Tool ( #12251 )
2022-02-06 21:18:37 -03:00
fisker Cheung
9691e7bc37
Add acorn parser ( #12172 )
2022-01-28 15:25:30 +08:00
Joel Bradshaw and fisker Cheung
38b5b98393
Clarify documentation around proseWrap ( #12134 )
...
* Clarify documentation around proseWrap
These docs were a bit misleading, describing never as "opt-out" when it in fact can result in massive changes in an existing wrapped file is confusing, and referring to the default behavior as "wrapping as-is" is confusing, because Prettier isn't actually doing any wrapping - it's just leaving it as-is. Hopefully this is clearer.
* Update stable version docs
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-01-26 00:33:05 +09:00
AliReZa Sabouri and fisker Cheung
7c16d226f1
docs: Add Husky.Net option ( #12040 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-01-05 09:43:23 +08:00
Bela VanderVoort
22294fe9fb
Add csharpier to "Related Projects" ( #12002 )
2021-12-29 03:37:10 -03:00
Wyatt Anderson and fisker Cheung
a91465dfde
Update instructions for configuring Neoformat ( #11946 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-12-20 09:21:53 +08:00
Jere Kankaanranta and fisker Cheung
82e6937d50
Added changelog and updated the "first available in" version for singleAttributePerLine ( #11934 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-12-07 14:13:26 +08:00
sosukesuzuki
c63f8617d5
Merge branch 'patch-release' into main
2021-12-04 23:33:56 +09:00
sosukesuzuki
56ed71d1c9
Release 2.5.1
2021-12-04 23:31:03 +09:00
imgbot[bot] and ImgBotApp
ff8579f392
[ImgBot] Optimize images ( #11911 )
...
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
2021-12-03 12:36:34 +08:00
Vlad Sholokhov and Vladislav Sholokhov
7406d31072
Updated Using prettier in WebStorm article. ( #11909 )
...
- added info recent features
- removed outdated sections
Co-authored-by: Vladislav Sholokhov <vladislav.sholokhov@jetbrains.com >
2021-12-03 00:47:10 -03:00
Jere Kankaanranta
0e42acb49b
feat: added singleAttributePerLine option ( #5501 ) ( #6644 )
2021-12-02 11:46:11 +03:00
Chris Midgley
2160e11061
docs: add docs for editorconfig to configuration and options ( #11883 )
2021-11-30 16:24:07 -03:00
sosukesuzuki
e351bfc678
Release 2.5.0
2021-11-25 22:57:21 +09:00
Josh Unger
3833515c1c
Add prettier-plugin-erb ( #11535 )
2021-09-19 16:56:39 +09:00
sosukesuzuki
7ced9e6654
Release 2.4.1
2021-09-16 15:06:00 +09:00
Carlos Frias
ae33e494a9
fix(docs): lint-staged install instructions ( #11363 )
...
As per https://github.com/okonet/lint-staged#installation-and-setup
The previous ones were not working.
2021-09-13 19:38:11 +03:00
Gastón Giménez
a1a7502f4f
Update integrating-with-linters.md ( #11399 )
2021-09-13 19:33:33 +03:00
sosukesuzuki
e49951e5a3
Release 2.4.0
2021-09-09 18:19:39 +09:00
4992d97203
Deprecate jsxBracketSameLine option in favour of multi-language bracketSameLine option ( #11006 )
...
* deprecate jsxBracketSameLine in favour of multi-language angleBracketSameLine option
* update docs and snapshots
* update tests to to make them more reviewable
* Rewrite angular tests
* Rewrite html tests
* Rewrite vue tests
* Restore unnecessary changes in jsx
* Fix file location
* Test both `true` and `false`
* Revert changes in markdown
* Run tests on all js parsers
* Improve html test
* fix changelog comment
* move bracketSameLine to common options
* mark jsxBracketSameLine as deprecated
* Update changelog_unreleased/html/11006.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update 11006.md
* fix tests by removing `jsxBracketSameLine` `default` property
* fix style
* Revert docs under website dir
* Add tests for deprecated options
* Fix lint problems
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: sosukesuzuki <aosukeke@gmail.com >
2021-08-31 11:47:50 +09:00
Ryan Gatchalian
51361ae851
docs: Require npm version for set-script command ( #11309 )
2021-08-05 18:33:42 +09:00