Commit Graph
63 Commits
Author SHA1 Message Date
Максим Ивановandfisker 0292df6bf3 Preserve Angular control flow syntax in ngNonBindable directive (#20066)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-20 08:43:36 +08:00
eca37730aa Angular: Support @boundary / @error error boundaries (#20015)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-15 17:20:57 +08:00
Максим Иванов d00ebd11d6 Fix Angular ngIf microsyntax colon formatting (#20051) 2026-09-14 06:20:51 +08:00
Максим Ивановandfisker 0631073e47 Fix Angular ngNonBindable interpolation formatting (#20044)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-13 03:15:54 +08:00
宁岑andfisker bbd3b67851 Avoid repeated blank lines in unformatted Angular and Vue interpolations (#20001)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-09 16:27:39 +08:00
Mateusz Turczaandfisker ca49e13b3e Add ng-model-options to recognized AngularJS attributes (#19777)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-15 18:56:25 +08:00
fisker Cheung 943a475c35 Angular: Support expression for exhaustive typechecking (#19571) 2026-07-09 09:28:40 +08:00
fisker Cheung 2e92ac0ee2 Angular: Format @content(name) -> @content (name) to align with other block syntax (#19499) 2026-06-30 09:05:20 +08:00
fisker Cheung af720efb42 Angular: Support comments in start tag (#19465) 2026-06-26 19:43:04 +08:00
fisker Cheung e736c0e858 Angular: Support @content block (#19431) 2026-06-23 20:01:45 +08:00
Konv Suu adeca1aea1 Fix inline comment forcing element to break in html (#19304) 2026-06-09 04:20:19 +08:00
Konv Suu dc6d12e6f1 Fix broken closing tag of pre-like elements (#19046) 2026-05-19 04:25:13 +08:00
fisker Cheung 384cf33671 Support Angular v21.2 (#18722) 2026-04-10 10:03:27 +08:00
fisker Cheung 375f3347b1 Support default never in Angular v21.2 (#19034) 2026-04-10 09:49:52 +08:00
fisker Cheung 5017d66ea7 Test: Update printWidth indicator (#10293) 2026-01-31 03:45:41 +08:00
fisker Cheungandautofix-ci[bot] ed5bb0bf62 Refactor tests (#18743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-25 10:30:19 +08:00
fisker Cheung 29c3f97dec Keep ChainExpression AST unchanged (#18661) 2026-01-21 08:26:02 +08:00
renovate[bot]andfisker cc35f506e2 Update Angular Estree parser (#18636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-15 05:27:44 +08:00
fisker Cheung 9464003348 Angular 21.1: Support consecutive switch cases (#18593) 2026-01-15 05:14:58 +08:00
fisker Cheung ad633008b4 Angular 21.1: Support spread element in array and object literals (#18596) 2026-01-14 05:13:21 +08:00
Ravindu Liyanapathiranaandfisker f2ce657254 Don't print Angular attribute values that are single template/string literals, on new lines (#18378)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-09 14:17:41 +08:00
renovate[bot]andfisker f4289b9d6c chore(deps): update angular estree (major) (#18294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-21 23:39:09 +08:00
fisker Cheung fb6f43c529 Add test for 18223 (#18237) 2025-11-16 19:07:00 +08:00
renovate[bot]andfisker 1bc979c8da Update dependency angular-html-parser to v9 (#17365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-11 20:23:11 +08:00
fisker Cheung d9e12fdd97 Angular: Fix formatting of "non-null assertion" (#18047) 2025-10-11 18:58:12 +08:00
fisker Cheung 29622cc4f7 Fix comments get duplicated in angular interpolation (#17862) 2025-09-23 17:42:16 +08:00
renovate[bot]andfisker a6bbdad8ca chore(deps): update dependency jest to v30.1.1 (#17819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-08-30 15:36:22 +08:00
fisker Cheung aed5c585fa Support Angular 20.1 (#17722) 2025-07-18 10:41:03 +08:00
fisker Cheung f037a2674c Support Angular 20 (JS part) (#17534) 2025-05-29 15:03:17 +08:00
fisker Cheung 4cd55a287d Add a test for angular interpolation (#17433) 2025-05-15 11:35:10 +08:00
f3486cfbc5 Remove extra colon after track in angular @for control-flow (#17280)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-04-14 08:10:04 +08:00
fisker Cheung 44d7298f2d Support TemplateLiteral introduced in Angular 19.2 (#17238) 2025-03-17 11:20:49 +08:00
fisker Cheung 8e8260e533 Improve angular ICU expression print (#16922) 2025-01-09 20:08:05 +08:00
fisker Cheung 73efde346a Angular: Support typeof expression (#16862) 2024-11-25 21:39:05 +08:00
SUZUKI Sosuke 5ca2fc9be8 Support Angular @let declaration syntax (#16474)
gmail.com>
2024-07-13 18:24:57 +09:00
fisker CheungandSosuke Suzuki 8a88cdce6d Respect trailingComma in angular templates (#15926)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2024-05-29 00:41:49 +09:00
Klaus Hott Vidalandfisker 16449ce914 renaming jsfmt.spec.js to format.test.js (#16244)
Co-authored-by: fisker <lionkay@gmail.com>
2024-05-06 10:25:10 +08:00
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 Sosukeandfisker 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 InkinandSosuke 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]andfisker 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