Commit Graph
19 Commits
Author SHA1 Message Date
7c186a195e chore(deps): update babel to v7.28.0 (#17696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-03 12:49:01 +08:00
fisker Cheung 1bcdc07ace Forbid parenthesized expressions in JSON (#17598) 2025-06-12 20:03:29 +08:00
renovate[bot]andfisker 4d226d0165 chore(deps): update dependency @babel/parser to v7.27.4 (#17545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-02 23:22:49 +08:00
fisker Cheung 5d8337e8e0 Allow comment only JSONC files (#17269) 2025-03-20 23:01:10 +08:00
renovate[bot]andfisker 9066ba83a2 chore(deps): update babel to v7.26.0 (#16795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-29 17:39:52 +08:00
fisker Cheung b26f56bd31 Update eslint-plugin-unicorn to v53 (#16275) 2024-06-04 09:39:19 +08: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 70c9c56c67 Improve babel parse error message (#15928) 2024-01-16 10:27:49 +08:00
fisker Cheung b15d287f81 Update Jest to v30 (#15580) 2023-11-27 23:25:58 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
SUZUKI Sosuke c1296105f3 Update @babel/parser to 7.22.0 (#14861)
* Update `@babel/parser` and `@babel/types`

* Update error message snapshots

* Run `yarn dedupe`

* Update `@babel/generator`

* Install new `@babel/parser`
2023-05-27 22:06:34 +09:00
fisker Cheung 5f68f86621 Improve JSON parse error (#14398) 2023-02-24 09:20:03 +08:00
fisker Cheung 9cf73d3610 Use c8 ignore comments (#13683) 2022-10-22 23:33:08 +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 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 63c744823b Update babel parser (#10802)
* Update

* Use error codes instead of error messages

* Update js tests

* Update ts tests

* Add comments

* Remove plugins enabled by default

* update misc error tests

* Remove moduleStringNmaes

* use allowedMessagesCode directly

* Remove some misc tests

* Update snapshots for integration tests

* Add Redeclaration to cspell.json
2021-05-03 12:12:25 +09:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00