Georgii Dolzhykov
67efa96da6
Custom parser API: deprecation notice ( #13252 )
2022-08-07 14:12:17 +03:00
Georgii Dolzhykov and fisker
2c77149e6a
Add benchmark script ( #13224 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2022-08-06 11:25:34 +08: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
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
Sosuke Suzuki
36c20c51bc
Support Speculation Rules API formatting in HTML ( #12882 )
...
* Add script formatting for `speculationrules`
* Fix lint problems
2022-05-17 10:38:46 +09:00
fisker Cheung
77e5589591
Add .gitpod.yml file ( #12851 )
2022-05-10 13:48:41 +08:00
HosokawaR and fisker Cheung
7ab6198453
Make more callee patterns recognized as "test call callee". ( #12779 )
...
* make more pattern recognized as test call callee
* add tests
* add change log
* make collate logic easier to read.
* add typedef
* remove extra processing
* fix filename mistake is-noded-matches.js -> is-node-matches.js
* add correct words to cspell config
* add a comment about copying
* move patterns outside
* Minor tweak
* rename valiable name
* Adding changelog real-world use case
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-05-07 16:44:56 +09: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
fisker Cheung and Alexander Kachkaev
c9be8d1e0e
Minor tweak to the website ( #12522 )
...
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
2022-03-27 21:52:17 +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
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
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
fisker Cheung
b1e59dd70a
Save vendor licenses for build script ( #12258 )
2022-02-08 10:33:09 +08:00
Sosuke Suzuki
6819dc91f6
Add an esbuild plugin to add @ts-nocheck annotation for vendors ( #12248 )
...
* Enable prettier
* Add `esbuildPluginTsNocheck`
* Run build
* Update cspell.json
2022-02-06 23:25:29 +09:00
fisker Cheung
7e73f1cf0d
Update cSpell config ( #12154 )
2022-01-27 15:03:49 +08:00
fisker Cheung
cc6856ae20
Build: Switch to esbuild (backport #12052 and #10006 ) ( #12055 )
2022-01-14 15:58:13 +08:00
dependabot[bot]
56577a466b
Build(deps-dev): Bump cspell from 5.14.0 to 5.15.1 ( #12063 )
2022-01-09 08:15:06 -03:00
fisker Cheung
52ec456ab2
Add final new line to cspell.json file ( #12049 )
2022-01-08 12:14:07 +08:00
fisker Cheung
3a1de5cb4f
Simplify clean-cspell script ( #12015 )
2022-01-03 22:17:14 +08:00
Lucas Duailibe
c9c6d3364f
Fix lint
...
Add 'csharpier' to cspell.json
2021-12-29 03:49:49 -03:00
fisker Cheung and sosukesuzuki
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
fisker Cheung
051e20591a
Lint dist files with eslint-plugin-compat ( #11245 )
2021-08-16 15:08:19 +08:00
fisker Cheung
bd4a5ff990
Update cspell ( #11236 )
2021-07-22 09:44:06 +08:00
Sosuke Suzuki and fisker Cheung
c2599d4714
Fix workflow files according to actionlint ( #11197 )
...
* Fix by actionlint
* Run actionlint in GH Actions
* Update cspelljson
* Test
* Revert
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-07-13 17:27:04 +09:00
Sosuke Suzuki and fisker Cheung
321f736183
Retry "npm publish" when to enter OTP is faeild ( #11031 )
...
* Retry "npm publish" when to enter OTP is faeild
* Fix else
* Break
* Use async function
* Update cspell.json
* Address review
* Update scripts/release/steps/publish-to-npm.js
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update scripts/release/steps/publish-to-npm.js
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-06-07 13:07:22 +09:00
fisker Cheung
98abb990cc
Use Object.fromEntries(), Array#flat() and Array#flatMap() ( #10853 )
2021-05-12 01:05:29 +08:00
ba1a833378
Add 2.3 blog post ( #10659 )
...
* Start 2.3 blog post
* Apply suggestions from code review
Co-authored-by: Alex Rattray <rattray.alex@gmail.com >
* Regenerate the post
* Regenerate blog post
* Regenerate post
* Edit changelog entries
* Regenerate blog post
Co-authored-by: Alex Rattray <rattray.alex@gmail.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-05-10 00:15:27 +03:00
Sosuke Suzuki
63c744823b
Update babel parser ( #10802 )
...
* Update
* Use error codes instead of error messages
* Update js tests
* Update ts tests
* Add comments
* Remove plugins enabled by default
* update misc error tests
* Remove moduleStringNmaes
* use allowedMessagesCode directly
* Remove some misc tests
* Update snapshots for integration tests
* Add Redeclaration to cspell.json
2021-05-03 12:12:25 +09:00
TJ Mazeika and fisker Cheung
7e4f4d5fe6
Exclude @keyframes params from being parsed as a Less variable ( #10773 )
...
* Exclude @keyframes params from being parsed as a Less variable
* Update changelog_unreleased/css/10773.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update changelog_unreleased/css/10773.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Add "keyframes" to cspell.json
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-04-26 01:13:40 +03:00
Georgii Dolzhykov
169faf39ac
Update yaml to 1.10.2 ( #10516 )
2021-03-14 12:14:08 +02:00
fisker Cheung
93409294e6
CLI: clear printed long filenames ( #10217 )
2021-02-07 08:51:19 +08:00
Georgii Dolzhykov
78b38d2282
Round-trippable --debug-print-doc ( #10169 )
2021-01-29 21:48:34 +02:00
Georgii Dolzhykov
1df287acc8
Use default parameters where possible and other microrefactoring ( #10135 )
2021-01-27 12:36:39 +08:00
Mike
3dfac3d71b
Support YAML document end marker in front matter ( #9878 )
2021-01-25 17:09:22 +02:00
Georgii Dolzhykov
f333c65231
Minor spellchecking and typechecking fixes ( #10125 )
2021-01-25 02:43:42 +02:00
fisker Cheung
2c14620ba6
Refactor: Improve JavaScript parser readability ( #9783 )
2020-12-15 14:09:44 +08:00
Kevin Deisz
9c87a9af2e
Correct name for Ruby blog post ( #9875 )
2020-12-11 09:22:57 -05:00
Kevin Deisz
05661d81c8
Ruby blog post ( #9854 )
2020-12-11 15:49:31 +02:00
fisker Cheung
3d7016e2dc
Add meriyah parser ( #9514 )
2020-11-05 14:08:37 +08:00
Sosuke Suzuki
56e9602a28
Support TypeScript 4.1 via Babel ( #9473 )
...
* Support Key Remapping In Mapped Types
* Fix by Prettier
* Add changelog
* Fix jsfmt.spec.js
* Update cspell.json
2020-10-22 21:12:24 +09:00
dependabot[bot] and fisker
5af5fa7a66
Build(deps-dev): Bump webpack from 4.44.2 to 5.1.0 ( #9373 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2020-10-22 13:32:50 +08:00
fisker Cheung and Georgii Dolzhykov
07f6d49ef3
Stop inferring the parser to be json for .jsonl files ( #9371 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-10-13 09:17:33 +08:00
fisker Cheung and Chris Brody
73e3976c34
Add espree parser ( #9000 )
...
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
2020-10-13 09:14:02 +08:00
dependabot[bot] and fisker
116727b3b6
Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 ( #9169 )
...
* Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1
Bumps [yaml-unist-parser](https://github.com/ikatyang/yaml-unist-parser ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ikatyang/yaml-unist-parser/releases )
- [Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ikatyang/yaml-unist-parser/compare/v1.3.0...v1.3.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* Update snapshot
* Update changelog
* spellcheck
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2020-09-10 21:30:40 +08:00
fisker Cheung
56da3ba31c
Update cspell.json ( #9105 )
2020-09-01 18:40:26 +08:00
Georgii Dolzhykov
488e08d70b
Remove the need to add full GitHub links in changelog entry titles ( #9104 )
2020-09-01 08:51:32 +08:00
fisker Cheung
f2e3cb7f3b
Support .wxs & .wxss ( #9081 )
...
* Support `.wxs` & `.wxss`
* Spell check
* Add comments
* Spellcheck
2020-08-27 20:56:53 +03: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
Chris Brody and fisker
cdc250c21a
typecheck updates & fixes in src/language-js ( #8759 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2020-08-21 09:08:14 +08:00
fisker Cheung
c6b3ed6e1c
Enforce .json extensions ( #8908 )
2020-08-06 00:37:16 +08:00