Commit Graph
31 Commits
Author SHA1 Message Date
Максим Иванов 2556c4c89b fix(yaml): preserve trailing whitespace in block scalars (#19764) 2026-08-25 02:39:42 +08:00
fisker Cheung 414e453ae9 Fix typo in tests (#19846) 2026-08-13 18:47:36 +08:00
fisker Cheung 351e399362 YAML: Preserve order of anchor and tag (#19599) 2026-07-19 10:20:39 +08:00
fisker Cheung 96693ea007 Improve comments (#19359) 2026-06-16 02:09:45 +08:00
fisker Cheungandautofix-ci[bot] 3149f353d7 Enable unicorn/prefer-string-repeat rule (#19306)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-08 18:16:28 +08:00
Antoine Pietriandfisker Cheung 80cdddb79b Fix YAML formatting: preserve empty line after block scalar (#19205)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 01:22:42 +08:00
fisker Cheung d9e261f836 Enable tests fixed in yaml-test-suite (#19275) 2026-06-03 07:38:31 +08:00
fisker Cheung 8d63dddaaa Update to yaml@2 (#18419) 2026-06-01 10:18:29 +08:00
renovate[bot]andfisker 5c9002f92f Update babel to v8.0.0-rc.5 (#19156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-19 04:14:49 +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
Konv Suuandfisker Cheung e82248225a Use explicit key format when mapping key wraps (#18330)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-25 20:52:29 +08:00
Konv Suuandfisker a51ccb5779 Fix L24T-2.yaml (value of blockLiteral) bug in yaml-test-suite (#18331)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-05 22:03:45 +08:00
Konv Suuandfisker 9a2d9cbed6 Allow duplicated keys in yaml (#18417)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-04 01:12:04 +08:00
10094c3467 Add json-test-suite (#18385)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-02 16:33:39 +08:00
Konv Suuandfisker Cheung a14c44f30e Fix K3WX.yaml (comments in map key) bug in yaml-test-suite (#18324)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-27 14:23:14 +08:00
fisker Cheung 78117cf4c4 Update yaml-test-suite to v0.1 (#18309) 2025-11-24 20:46:46 +08:00
fisker Cheung a3d27e96c6 Add yaml-test-suite (#18301) 2025-11-23 04:02:25 +08:00
fisker Cheung 6fac964b40 Preserve explicit YAML document end marker (#18296) 2025-11-22 12:23:00 +08:00
fisker Cheung b79cfcf345 Update yaml-unist-parser to v2.1 (#18295) 2025-11-21 23:09:13 +08:00
Konv Suuandfisker 94b9a058eb Preserve empty line before endComment (#17843)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-19 12:47:28 +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
Baptiste Rouxandfisker 2e608cd8f1 fix(yaml): do not insert line break before an empty map or sequence (#17513)
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-20 05:33:25 +08:00
Fu YuchenandSUZUKI Sosuke 1ce5eeea77 Fix yaml comment in non-singleline items missing space before # (#16489)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2024-10-01 20:54:46 +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
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
Yosuke Kuramiandfisker Cheung f21d18aab9 fix(yaml): Don't remove lines including U+3000 (#12305)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-02-15 21:02:04 +08: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
Philip Davies bcd62546c2 Fix #5599, long yaml keys trigger explicit mapping (#10874)
Fix #5599, long yaml keys trigger explicit mapping
2021-05-15 14:03:06 +03:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00