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 |
|
 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 |
|
Or Rosenblatt
|
a00d31e1a4
|
Support .lintstagedrc (#13081)
* Test `.lintstagedrc` JSON and YML formatting (TDD)
* Support `.lintstagedrc` formatting
* Update spell checking for `.lintstagedrc`
* Update changelog
* Update changelog
|
2022-07-09 13:30:26 +09:00 |
|
fisker Cheung
|
c7c99305e9
|
Clean changelog
|
2022-06-14 14:40:54 +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 |
|
sosukesuzuki
|
e5868ad368
|
Update changelog
|
2022-06-11 23:36:35 +09: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 |
|
fisker Cheung
|
4c42129d96
|
Simplify pref test scripts (#12699)
|
2022-05-01 22:29:45 +08:00 |
|
fisker Cheung
|
85e6e4f73f
|
CLI: Skip print code or write file when performance flags found (#12682)
|
2022-04-25 08:44:22 +08: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 |
|
fisker Cheung
|
3fd64b4f30
|
Format .importmap file with json-stringify parser (#12603)
|
2022-04-07 09:37:30 +08:00 |
|
Sosuke Suzuki
|
f7f13dcf82
|
Clean changelog_unreleased
|
2022-03-25 15:24:55 +09:00 |
|
 dependabot[bot]andfisker Cheung
|
67edeeaf72
|
Build(deps): Bump minimist from 1.2.5 to 1.2.6 (#12513)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-03-24 12:03:26 +08:00 |
|
fisker Cheung
|
5ef82125a9
|
CLI: Don't use logger to print information (#12477)
|
2022-03-21 10:38:48 +08:00 |
|
Sosuke Suzuki
|
58e48b79da
|
Clean changelog_unreleased
|
2022-03-16 13:35:41 +09: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 |
|
 fisker CheungandAlexander Kachkaev
|
3ba48bb266
|
Add --no-plugin-search (#10274)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
|
2022-02-18 16:36:53 +08:00 |
|
Sosuke Suzuki
|
162097e2d2
|
Format .swcrc as a JSON file (#12320)
* Format `.swcrc` as JSON
* Test `.swcrc` JSON formatting
* Add changelog
* Update snapshots
* Address reviews
* Update `cspell.json`
* Address review
|
2022-02-18 08:39:12 +09:00 |
|
 
|
04aa850fde
|
Add 2.5 blog (#11823)
* Mark highlights
* Update intro
* Draft
* Update changelog
* Update changelog
* Regenerate draft
* Update TS 4.5 blog URL
* Regenerate draft
* Fix by prettier
* Fix
* Remove changelogs released already
* Address review
* Update
* Regenerate draft
* Regenerate draft
* Regenerate
* Update changelog_unreleased/typescript/11515.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Update changelog_unreleased/typescript/11721.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Update changelog_unreleased/mdx/11563.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Update changelog_unreleased/mdx/11563.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Update website/blog/2021-11-21-2.5.0.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Update website/blog/2021-11-21-2.5.0.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Regenerate
* Address reviews
* Regenerate
* Use examples
* Regenerate
* Address review
* Renegrate
* Address review
* Regenerate
* MDX 2 comments => MDX v2 comment syntax
* Fix
* Update changelog_unreleased/blog-post-intro.md
Co-authored-by: Lucas Azzola <derflatulator@gmail.com>
* Update changelog_unreleased/typescript/11721.md
Co-authored-by: Lucas Azzola <derflatulator@gmail.com>
* Regenerate
* Update changelog_unreleased/typescript/11515.md
Co-authored-by: Jed Fox <git@jedfox.com>
* Regenerate
* Address review
* Regenerate
* Address review
* Regenerate
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Lucas Azzola <derflatulator@gmail.com>
|
2021-11-25 23:04:16 +09:00 |
|
 Sosuke SuzukiandGeorgii Dolzhykov
|
aa63269743
|
Add new CLI option debug-print-ast (#11514)
* Add new CLI option debug-print-ast
* Add tests
* Add changelog
* Remove text from ast
* Update tests/integration/__tests__/debug-print-ast.js
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Update tests
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2021-09-15 21:03:04 +09:00 |
|
sosukesuzuki
|
d812687502
|
Clean changelog
|
2021-09-09 18:29:57 +09:00 |
|
 fisker Cheungandsosukesuzuki
|
07786bd758
|
Revert "Revert features for minor" (#11044)
* Revert "Revert features for minor (#11016)"
This reverts commit 09d65c35af.
* Update cspell.json
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
|
2021-08-31 13:40:52 +09:00 |
|
Sosuke Suzuki
|
1a535de3f8
|
Clean changelog unreleased (#11111)
|
2021-06-26 17:37:17 +09:00 |
|
fisker Cheung
|
ce96e4899f
|
CLI: Fix failure on dir with trailing slash (#11000)
|
2021-06-11 11:03:42 +08:00 |
|
Sosuke Suzuki
|
09d65c35af
|
Revert features for minor (#11016)
This reverts commit f8cb785758.
|
2021-06-05 18:32:49 +09:00 |
|
 Domaandfisker Cheung
|
f8cb785758
|
Support stylelintrc (#10924)
* Infer JSON/YAML parser for .stylelintrc
* Update test snapshots
* Update src/language-yaml/embed.js
Co-authored-by: fisker Cheung <lionkay@gmail.com>
* Add changelog for stylelintrc support
* Update embed.js
* style: Fix prettier linting problems
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2021-05-24 01:24:32 +03:00 |
|
Georgii Dolzhykov
|
171b1ee2bf
|
Clean changelog_unlreleased
|
2021-05-10 00:17:59 +03:00 |
|
Georgii Dolzhykov
|
8588462f4b
|
Edit changelog entries (@j-f1's suggestions)
|
2021-04-20 23:48:06 +03:00 |
|
Georgii Dolzhykov
|
88d765a4be
|
Edit changelog
|
2021-04-16 17:48:10 +03:00 |
|
Georgii Dolzhykov
|
6be741d74e
|
Fix PR number in changelog
|
2021-03-10 03:02:43 +02:00 |
|
 
|
2245e93900
|
Don't skip file paths contains special words like constructor (#10256)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2021-02-08 22:46:00 +02:00 |
|
fisker Cheung
|
2a157bf7cb
|
CLI: Print error message when --find-config-path can't find config file (#10208)
|
2021-02-07 08:52:32 +08:00 |
|
fisker Cheung
|
93409294e6
|
CLI: clear printed long filenames (#10217)
|
2021-02-07 08:51:19 +08:00 |
|
Georgii Dolzhykov
|
56840d4890
|
Followup for #10169: minor tweaks (#10177)
* Followup for #10169: minor tweaks
* Add Copy doc button to Playground
|
2021-01-30 18:25:43 +02:00 |
|
Georgii Dolzhykov
|
78b38d2282
|
Round-trippable --debug-print-doc (#10169)
|
2021-01-29 21:48:34 +02:00 |
|
Georgii Dolzhykov
|
b7a0e253f6
|
Fix changelog for #8233
|
2021-01-28 00:34:39 +02:00 |
|
Daron McIntosh
|
3d9f102301
|
Add CLI option to prevent errors on unmatched patterns (#10058)
|
2021-01-28 00:30:16 +02:00 |
|
Georgii Dolzhykov
|
79d2f4a295
|
Add CLI flag for debugging comment attachment issues (#10124)
|
2021-01-27 12:30:10 +02:00 |
|
sosukesuzuki
|
28cc1908fd
|
Clean changelog_unreleased
|
2020-11-20 14:01:22 +09:00 |
|
 Sosuke Suzukiandfisker Cheung
|
d2b9b083ca
|
Add 2.2 blog post (#9589)
* Generate draft via script
* Add description
* Mention about pre-commit
* Remove pr-9209.md
* Mention about pre-commit
* Add pr-8937.md
* Update pr-9473
* Update pr-9473
* Update intro file
* Add links to TS 4.1
* Update blog-post
* Move pre-commit support to pre-commit repo
* Fix BLOG_POST_INTRO_TEMPLATE.md
* re-generate draft
* Fix switching versions and re-generate draft
* Update links for TS 4.1
* Update draft
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2020-11-20 13:54:09 +09:00 |
|
Georgii Dolzhykov
|
d6858d52ad
|
Changelog edits for 2.2 (#9603)
|
2020-11-05 13:07:29 +09:00 |
|
fisker Cheung
|
ba14e7c3f2
|
CLI: Fix error on dir or file that name is a number (#9298)
|
2020-10-08 22:00:01 +08:00 |
|
  
|
18b4cabc0c
|
Add 2.1 blog post (#8932)
* Add draft for 2.1 blog post
* Update cspell.json
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
* Update changelogs
* Add author to cspell ignore patterns
* Update cspell.json
* Fix original changelog
* Run draft script
* Update
* Fix TypeScript on Highlights
* Fix heading
* Fix author
* Fix changelog for 8410
* Fix syntax highlight
* Move changelog for 7844 to /scss
* Update website/blog/2020-08-21-2.1.0.md
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
* Remove changelog_unreleased
* Update filename
* Replace to actual version manually
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
|
2020-08-24 20:36:52 +09:00 |
|
 
|
e3d1f0dee0
|
CLI: Add --ignore-unknown (#8829)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
|
2020-08-21 09:11:59 +08:00 |
|
fisker Cheung
|
a340799a3d
|
CLI: Don't suggest -_ for unknown flags (#8934)
|
2020-08-10 21:57:54 +08:00 |
|
fisker Cheung
|
466d4638b4
|
CLI: Add -w alias for --write option (#8833)
|
2020-07-27 10:10:01 +08:00 |
|
fisker Cheung
|
86b8395ed7
|
Fix cli --file-info bug (part 2) (#8830)
|
2020-07-24 23:31:59 +08:00 |
|
fisker Cheung
|
a4e5f2053d
|
Fix cli --file-info bug (#8586)
* Fix cli `--file-info` bug
* Add changelog
* Update pr-8586.md
|
2020-06-18 18:18:19 +03:00 |
|
fisker Cheung
|
d2f51d7494
|
Fix ignore bug on windows (#8098)
* Fix file ignore bug on windows
* Use `ignore.ignores`
* Fix -stdin-filepath
* Add changelog
|
2020-04-21 14:33:20 +03:00 |
|
Georgii Dolzhykov
|
8f7164fdf4
|
clean changelog_unreleased
|
2020-03-21 22:41:36 +02:00 |
|