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
52c9a20e2c
Merge branch 'main' into next
...
# Conflicts:
# package.json
# src/cli/index.js
# tests/config/install-prettier.js
# tests/format/yaml/block-literal/jsfmt.spec.js
# tests/integration/__tests__/file-info.js
# yarn.lock
2022-02-21 16:12:59 +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
f0b63f3dff
Merge branch 'main' into next
...
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
2022-02-09 09:22:32 +08: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
fisker Cheung
668bbe7d0e
Merge branch 'main' into next
...
# Conflicts:
# package.json
# website/package.json
# website/yarn.lock
# yarn.lock
2022-01-10 16:41:09 +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
4593aa07c2
Build: Switch to esbuild ( #12052 )
2022-01-09 01:15:04 +08:00
fisker Cheung
0cfb9d95e4
Merge branch 'main' into next
2022-01-08 22:19:54 +08:00
fisker Cheung
52ec456ab2
Add final new line to cspell.json file ( #12049 )
2022-01-08 12:14:07 +08:00
fisker Cheung and Sosuke Suzuki
6bd81c23b6
Migrate format test to ES Module ( #11902 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-01-04 17:00:25 +08:00
fisker Cheung
12d8ac32c5
Merge branch 'main' into next
...
# Conflicts:
# cspell.json
# package.json
# tests/integration/__tests__/early-exit.js
# yarn.lock
2022-01-04 15:04:40 +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
8ffbcbbcae
Refactor integration test files to use ES Module ( #11891 )
2021-12-02 10:19:32 +08:00
fisker Cheung
339e0c6db7
Fix build script ( #11468 )
2021-09-09 16:14:09 +08:00
fisker Cheung
beba6fa88c
Merge branch 'next' of github.com:prettier/prettier into next
...
# Conflicts:
# package.json
# yarn.lock
2021-09-08 12:54:17 +08: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
a998e3c34d
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# yarn.lock
2021-08-13 11:45:05 +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
fisker
77f8f0ddb5
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# yarn.lock
2021-06-14 00:31:55 +08: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
fisker Cheung
413bb11bc9
Merge branch 'main' into next
...
# Conflicts:
# package.json
# yarn.lock
2021-05-06 16:08:40 +08:00
fisker Cheung
60619338f1
Merge branch 'main' into next
...
# Conflicts:
# package.json
# tests/css/atrule/each.css
# tests/css/atrule/for.css
# tests/css/atrule/if-else.css
# tests/css/atrule/include.css
# tests/css/atrule/while.css
# tests/format/css/atrule/each.css
# tests/format/css/atrule/for.css
# tests/format/css/atrule/if-else.css
# tests/format/css/atrule/include.css
# tests/format/css/atrule/while.css
# tests/scss/atrule/each.scss
# tests/scss/atrule/for.scss
# tests/scss/atrule/if-else.scss
# tests/scss/atrule/include.scss
# tests/scss/atrule/while.scss
# yarn.lock
2021-05-06 16:00:12 +08: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
fisker Cheung
85fc1fa017
Merge branch 'main' into next
...
# Conflicts:
# package.json
# src/language-css/printer-postcss.js
# yarn.lock
2021-03-29 19:47:56 +08:00
Georgii Dolzhykov
169faf39ac
Update yaml to 1.10.2 ( #10516 )
2021-03-14 12:14:08 +02:00
fisker Cheung
d3c58df606
Merge branch 'main' into next
...
# Conflicts:
# package.json
# src/language-css/utils.js
# yarn.lock
2021-03-08 17:38:10 +08: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
sosukesuzuki
b31cc7e3ca
Merge branch 'main' into next
2021-01-25 13:16:41 +09:00
Georgii Dolzhykov
f333c65231
Minor spellchecking and typechecking fixes ( #10125 )
2021-01-25 02:43:42 +02:00
fisker
42424dcce8
Spellcheck
2021-01-11 19:06:16 +08: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