fisker Cheung
6eda34db44
Test: Rename run_spec to runFormatTest ( #15943 )
2024-01-19 17:20:24 +08:00
SUZUKI Sosuke
06c7e52da6
Avoid adding colon for track in 3rd expression of for blocks ( #15887 )
2024-01-08 15:20:06 +09:00
fisker Cheung
84c169ecc2
Fix prettier-ignored angular control flow ( #15827 )
2024-01-02 13:48:34 +08:00
SUZUKI Sosuke and fisker
153ffd5104
Support formatting for Angular ICU expression ( #15777 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-14 13:01:54 +09:00
fisker Cheung
ff57f5064d
Fix @for angularControlFlowBlock ( #15620 )
2023-11-12 23:56:56 +08:00
fisker Cheung
c433415d42
Fix formatting of "angularControlFlowBlock" in span ( #15615 )
2023-11-12 22:36:43 +08:00
0176a33db4
Support angular control flow ( #15606 )
...
Co-authored-by: dweizhe <d.weizhe@anyong.com.tw >
Co-authored-by: fisker <lionkay@gmail.com >
2023-11-12 20:01:30 +08:00
SUZUKI Sosuke
f852b8010e
Improve formatting for assignment its left can break ( #15547 )
2023-10-28 14:29:17 +09:00
Alex Inkin and Sosuke Suzuki
fcb66949c9
Remove space after pipe name ( #14961 )
...
* Remove space after pipe name
* Add changelog
* Update changelog
* Update changelog
---------
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com >
2023-07-03 02:28:17 +09:00
fisker Cheung
02a50e5bb9
Angular: Support computed optional member expression ( #14658 )
2023-04-07 09:53:59 +08:00
renovate[bot] and fisker
6bcab73c33
Update dependency angular-estree-parser to v5.0.2 ( #14216 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2023-01-25 12:46:00 +08:00
fisker Cheung
9e85502107
Fix test
2023-01-16 16:01:08 +08:00
fisker Cheung
b332654039
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# src/language-html/parser-html.js
# src/language-js/print/jsx.js
# src/language-js/print/typescript.js
# website/yarn.lock
# yarn.lock
2023-01-16 15:53:36 +08:00
fisker Cheung
4ad9160891
Angular: allow self-closing tags on custom elements ( #14170 )
...
Fixes https://github.com/prettier/prettier/issues/14168
2023-01-14 10:57:39 +08:00
fisker Cheung
3ca842d81c
Update @angular/compiler to v14 ( #13609 )
2022-10-11 11:26:30 +08:00
fisker Cheung
f8fff81005
Print HTML5 doctype in lowercase ( #7391 )
2022-08-08 01:13:18 +08:00
fisker Cheung
83400d19b4
Change default value of trailingComma to "all" ( #11479 )
2022-08-01 11:05:17 +08:00
fisker Cheung
4d4947c284
Merge branch 'main' into next
...
# Conflicts:
# src/cli/logger.js
# src/language-js/print/binaryish.js
# website/package.json
# website/yarn.lock
2022-07-19 14:13:01 +08:00
Sosuke Suzuki
89f90fc013
Insert spaces in pipe ( #13100 )
...
* Insert spaces to pipe arguments
* Update snapshots
* Add changelog
* Fix lint problem
2022-07-16 17:18:55 +09:00
fisker
21f2ea0f1e
Fix
2022-06-19 11:28:28 +08:00
fisker
0e0f879c1a
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# package.json
# scripts/release/yarn.lock
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/cli/expand-patterns.js
# src/cli/format.js
# src/cli/utils.js
# src/language-js/index.js
# src/language-js/parse/postprocess/index.js
# src/language-js/parse/postprocess/typescript.js
# tests/format/misc/errors/invalid/jsfmt.spec.js
# tests/integration/__tests__/__snapshots__/support-info.js.snap
# website/playground/sidebar/SidebarOptions.js
# yarn.lock
2022-06-19 11:12:22 +08:00
Sosuke Suzuki
97bab8f984
Update angular-estree-parser ( #12993 )
...
* Update `angular-estree-parser`
* Add tests
* Add changelog
2022-06-11 20:08:46 +09: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
James Long and fisker Cheung
6bf6b20aed
Reverts #7865 , keeping class names on the same line ( #11827 )
...
* Reverts #7865 , keeping class names on the same line
* Add changelog
* Fix lint
* Fix
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-11-18 16:10:41 +09:00
4992d97203
Deprecate jsxBracketSameLine option in favour of multi-language bracketSameLine option ( #11006 )
...
* deprecate jsxBracketSameLine in favour of multi-language angleBracketSameLine option
* update docs and snapshots
* update tests to to make them more reviewable
* Rewrite angular tests
* Rewrite html tests
* Rewrite vue tests
* Restore unnecessary changes in jsx
* Fix file location
* Test both `true` and `false`
* Revert changes in markdown
* Run tests on all js parsers
* Improve html test
* fix changelog comment
* move bracketSameLine to common options
* mark jsxBracketSameLine as deprecated
* Update changelog_unreleased/html/11006.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update 11006.md
* fix tests by removing `jsxBracketSameLine` `default` property
* fix style
* Revert docs under website dir
* Add tests for deprecated options
* Fix lint problems
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: sosukesuzuki <aosukeke@gmail.com >
2021-08-31 11:47:50 +09:00
fisker Cheung
ece93681f1
Restructure test files ( #10415 )
2021-04-25 20:01:56 +08:00