Commit Graph
16 Commits
Author SHA1 Message Date
fisker Cheung b164d42ea6 Fix 2022-12-15 19:32:24 +08:00
fisker Cheung daeb90f1ca Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/language-css/printer-postcss.js
#	src/language-handlebars/printer-glimmer.js
#	src/language-markdown/clean.js
#	src/language-markdown/printer-markdown.js
#	yarn.lock
2022-12-15 19:16:59 +08:00
Derek Lewisandfisker Cheung 44db370ca6 Don't lowercase Markdown link definition labels (#13155)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:51:19 +08:00
fisker Cheung f9a71da439 Add CodeQL Analysis workflow (#13851) 2022-11-20 15:35:24 +08:00
Tatsunori Uchino ebb8e13282 Markdown: improve whitespace handling in CJK (#11597) 2022-10-19 11:40:59 +03:00
Alexander Kachkaev 8df3b5ee60 Markdown: Preserve multiple spaces in inline code (#13590) 2022-10-14 10:58:03 +03:00
Georgii Dolzhykov 2c1532b823 Merge remote-tracking branch 'remotes/upstream/main' into next 2022-10-09 22:10:00 +03:00
Anders Kaseorg f38111fec6 markdown: Preserve inline code line breaks if --prose-wrap=preserve (#11373) 2022-10-09 16:53:12 +03:00
fisker Cheung 83400d19b4 Change default value of trailingComma to "all" (#11479) 2022-08-01 11:05:17 +08:00
fisker Cheung 9569ab12aa Merge branch 'main' into next
# Conflicts:
#	.github/renovate.json5
#	.github/workflows/lint.yml
#	package.json
#	src/cli/format.js
#	src/language-js/print/type-annotation.js
#	src/language-js/print/typescript.js
#	src/language-js/utils/index.js
#	tests/format/typescript/enum/jsfmt.spec.js
#	tests/format/vue/with-plugins/jsfmt.spec.js
#	website/yarn.lock
#	yarn.lock
2022-05-28 11:19:03 +08:00
Jed Fox de16657ba0 Remove all references to Gitter (#12885) 2022-05-16 11:08:44 -04: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
fisker CheungandSosuke 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
Sosuke Suzuki 7c6d0e462b Keep trailing commas for type parameters in embedded TSX (#11685)
* Keep trailing comma for embedded tsx

* Fix

* Add changelog

* Use dummy filepath
2021-10-19 16:15:05 +09:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00