Commit Graph
903 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 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 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
fisker Cheung ae4d85ab3c Update description of vueIndentScriptAndStyle option (#13781) 2022-11-04 11:14:12 +08:00
fisker Cheung b0d9387b95 Fix unpkg link (#13484) 2022-09-17 20:32:03 +08: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
Georgii Dolzhykov 67efa96da6 Custom parser API: deprecation notice (#13252) 2022-08-07 14:12:17 +03:00
Georgii Dolzhykov bbbeeb07f6 Playground: "Rethrow embed errors" checkbox (#13227) 2022-08-05 17:05:50 +03:00
jinxdash 80ec70f81f Add rust to community plugins (#13180)
Add prettier-plugin-rust
2022-07-28 13:06:11 +03:00
Georgii Dolzhykov b65cb6c1f6 Playground: doc explorer (#10183) 2022-07-23 22:46:16 +03:00
fisker Cheung 8880afe9d1 Update dependencies in /website (#13112) 2022-07-15 22:55:29 +08:00
fisker Cheung eeed611c72 Release 2.7.1 2022-06-16 13:36:19 +08:00
Sosuke Suzuki 6b388faa50 Add truncate 2022-06-14 15:36:02 +09:00
fisker Cheung 59ec4f2ef4 Bump Prettier dependency to 2.7.0 2022-06-14 14:33:25 +08:00
fisker Cheung 00a6a9d021 Update dependents count 2022-06-14 14:27:11 +08:00
Sosuke Suzukiandfisker Cheung 934068ac6a Add 2.7 blog post (#12966)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-06-14 14:25:40 +08:00
fisker Cheung 13dcc16330 Release 2.7.0 2022-06-14 13:06:41 +08:00
Sosuke SuzukiandSimon 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 de16657ba0 Remove all references to Gitter (#12885) 2022-05-16 11:08:44 -04:00
fisker Cheung 9b11f99124 Refresh yarn.lock in /website (#12883) 2022-05-16 13:47:53 +08:00
Harry Hopkinson ebc436fcc1 Updated caniuse-lite to remove yarn build:website warning. (#12867) 2022-05-16 11:03:30 +08:00
dependabot[bot] 5024adb9d7 Build(deps-dev): Bump babel-loader from 8.2.4 to 8.2.5 in /website (#12690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 18:00:46 +08: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
dependabot[bot] ae72b47477 Build(deps-dev): Bump webpack from 5.71.0 to 5.72.0 in /website (#12637)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 19:51:20 +08:00
Ansgar Prause 3390aa12b8 Fix groupBy usage in playground sidebar (#12642)
The groupBy function added in fa3b95c2e1
does not support the property name shorthand from lodash.
2022-04-10 19:20:33 +08:00
Sosuke Suzukiandfisker Cheung fa3b95c2e1 Remove lodash (#12628)
* Replace `groupBy`

* Replace `partition`

* Replace `pick`

* Move `partition`

* Replace `uniqBy`

* Replace `fromPairs`

* Remove usage from website

* Reuse `partition`

* Remove from package.json

* Fix

* Use `ignore.default`

* Add `resolveConfig` to `FileInfoOptions`

* Explicit tuple types

* Make `cache` optional

* Fix cosmiconfig type

* Use `@ts-expect-error` for private property access

* Add type annotation for validate

* Fix type errors for `OptionInfo`

* Add `@ts-expect-error`

* Fix type of `normalizeOptions`

* Fix `OptionInfo` type

* Add `@ts-expect-error` for `option-normalizer`

* Avoid type error

* Fix typo

* Add types for lodash fns

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-10 15:26:07 +09:00
Harry Hopkinsonandfisker 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
dependabot[bot] 5a6897fe32 Build(deps): Bump codemirror-graphql from 1.2.14 to 1.2.15 in /website (#12589) 2022-04-04 05:02:21 +00:00
dependabot[bot] f62e37ba06 Build(deps-dev): Bump concurrently from 7.0.0 to 7.1.0 in /website (#12588) 2022-04-03 20:20:22 +00:00
dependabot[bot] fdfa56d6af Build(deps-dev): Bump webpack from 5.70.0 to 5.71.0 in /website (#12587) 2022-04-03 19:30:42 +00:00
Sosuke Suzuki d2b63070af Update dependents count 2022-04-03 01:33:18 +09:00
Sosuke Suzuki d6f82a024a Release 2.6.2 2022-04-03 01:31:20 +09:00
fisker CheungandAlexander Kachkaev 1e119adf29 Minor tweak to the website (#12522)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-04-03 00:32:00 +09:00
dependabot[bot] e7486b705a Build(deps-dev): Bump babel-loader from 8.2.3 to 8.2.4 in /website (#12543) 2022-04-03 00:32:00 +09:00
dependabot[bot] 542e092059 Build(deps): Bump codemirror-graphql from 1.2.13 to 1.2.14 in /website (#12544) 2022-04-03 00:32:00 +09:00
Sosuke Suzuki 348ee15661 Update dependents count 2022-03-25 14:00:46 +09:00
Sosuke Suzuki ad505bf771 Release 2.6.1 2022-03-25 13:58:22 +09:00
Harry Hopkinsonandfisker Cheung 9e7f7b9295 Updated the State of JS Survey Results (#12350)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-24 11:08:01 +08:00
fisker CheungandSosuke Suzuki 9e70d6cab6 Minor tweak to the blog post (#12473)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-03-20 14:49:02 +08:00
fisker Cheung 361dc14f06 Update Vercel logo & link (#12456) 2022-03-17 20:11:50 +08:00
Sosuke Suzuki 0d34974a07 Run prettier after release (#12472) 2022-03-16 18:38:31 +08:00
eb671dd983 2.6 blog post (#12412)
* Generate

* Generate

* Add TS4.6 changelog

* Regenerate

* Add changelog to switch to esbuild

* Add category

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Address review

* Regenerate

* Highlight TS 4.6

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Update changelog_unreleased/typescript/12390.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Add thanks message for sponsors

* Address review!

* Update cspell.json

* Fix link of Ubie

* Generate

* Add `Thanks to our sponsors!`

* Update cspell

* Address review

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>

* Regenerate

* Add `--print-truncate` option

* Address review

* Generate

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-03-16 13:25:48 +09:00
Sosuke Suzuki 08bcf83a2e Update dependents count 2022-03-16 13:24:52 +09:00
Sosuke Suzuki cba25e6b09 Release 2.6.0 2022-03-16 13:09:58 +09:00
Harry Hopkinsonandfisker Cheung 2ef29b36c7 Add link to community plugins list (#12443)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-14 17:02:20 +08:00
dependabot[bot] 448c90565c Build(deps): Bump codemirror-graphql from 1.2.12 to 1.2.13 in /website (#12436) 2022-03-13 03:40:32 +00:00
dependabot[bot] e2357ef2ab Build(deps-dev): Bump webpack from 5.69.1 to 5.70.0 in /website (#12398)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 10:58:38 +08:00
Niklas Vatn 9ceeb0cb8a Fix typo in blog about paying maintainers (#12381) 2022-03-04 21:49:28 +08:00
dependabot[bot] 4bc27bb10c Build(deps-dev): Bump webpack from 5.68.0 to 5.69.1 in /website (#12333) 2022-02-23 11:50:33 +00:00