Commit Graph
19 Commits
Author SHA1 Message Date
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
Kevin Gibbons d50a4e4639 allow linebreaks in member expressions in template interpolations (#16116)
* allow linebreaks in member expressions in template interpolations

* lint

* add changelog
2024-03-10 12:43:37 +09:00
fisker Cheung 6eda34db44 Test: Rename run_spec to runFormatTest (#15943) 2024-01-19 17:20:24 +08:00
Kevin Gibbons cb6fea81fb Avoid introducing linebreaks in template interpolations (#15209) 2023-12-17 18:10:20 +08:00
fisker Cheung b15d287f81 Update Jest to v30 (#15580) 2023-11-27 23:25:58 +08:00
SUZUKI Sosuke 1d45bce625 Consistently format strings containing escapes (#15525) 2023-10-29 21:52:38 +09:00
fisker Cheung 256578bd3a Update jest-light-runner to v0.4.1 (#13749) 2022-10-30 11:05:09 +08:00
fisker Cheung 135a9952d2 Fix snapshot 2022-08-26 10:53:38 +08:00
fisker Cheung 0b072060b5 Merge branch 'main' into next
# Conflicts:
#	src/language-js/print/flow.js
#	src/language-js/print/literal.js
2022-08-26 10:29:09 +08:00
5a627651ff fix: line breaks in multiline strings, issue 13157 (#13274)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: Gleb Dolzhikov <gleb.dolzhikov@ix.co>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-23 20:56:52 +08:00
fisker Cheung 83400d19b4 Change default value of trailingComma to "all" (#11479) 2022-08-01 11:05:17 +08:00
liuxingbaoyu 3680bb79e1 Update some tests (#13176)
* Revert "Disable a test (#13159)"

This reverts commit 26cf77a5d5.

* remove a test case
2022-07-26 11:30:41 +09:00
fisker Cheung 26cf77a5d5 Disable a test (#13159) 2022-07-24 00:19:07 +08:00
fisker Cheung a85f38f096 Merge branch 'main' into next
# Conflicts:
#	.github/workflows/dev-test.yml
#	jest.config.mjs
#	package.json
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/options/create-minimist-options.js
#	src/cli/options/parse-cli-arguments.js
#	src/cli/usage.js
#	src/cli/utils.js
#	src/common/create-ignorer.js
#	src/common/load-plugins.js
#	src/config/resolve-config.js
#	src/index.js
#	src/language-css/utils/css-units.evaluate.js
#	src/language-html/ast.js
#	src/language-html/print-preprocess.js
#	src/language-html/utils/index.js
#	src/main/multiparser.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/config-resolution.js.snap
#	tests/integration/__tests__/__snapshots__/with-config-precedence.js.snap
#	tests/integration/__tests__/file-info.js
#	yarn.lock
2022-04-25 14:28:27 +08:00
Simen Bekkhus 033ac94f25 chore: disable string escaping in snapshots (#12612) 2022-04-08 09:59:17 +09:00
fisker Cheung 1b6388e9b1 Fix 2022-02-09 10:08:32 +08:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
09222ed6e8 Build(deps): Bump espree from 7.3.1 to 8.0.0 (#11162)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2021-07-07 18:53:09 +08:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00