Commit Graph
28 Commits
Author SHA1 Message Date
fisker Cheung 1dc924f2f2 Add jsonc parser (#15831) 2024-01-02 10:59:34 +08:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
Sosuke Suzuki eebf0e4b5e Bump Prettier dependency to 3.1.0 2023-11-13 12:00:57 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker CheungandSUZUKI Sosuke 54404fc96f Remove plugin search feature (#14759)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2023-05-05 10:31:25 +08:00
fisker Cheung ecfa324b69 Format <script> inside SVG (#14400) 2023-04-10 10:43:48 +08:00
fisker CheungandSUZUKI Sosuke aee8e3b0c2 Simplify HTML embed language parser inference (#14440)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2023-03-06 09:24:08 +08:00
fisker Cheung 5cdc3ab2dd Support print ChainExpression (#13735) 2023-02-13 10:11:40 +08:00
fisker Cheung 97c8e3c18f Run JSX tests on acorn, espree and meriyah (#10494) 2023-02-01 14:20:36 +08:00
fisker Cheung 3017876833 Forbid test babel parser in typescript/ (#14281) 2023-02-01 09:30:36 +08:00
fisker Cheung 3cb08c875d Test: auto test babel-flow parser (#14245) 2023-01-31 20:30:11 +08:00
fisker Cheung 1de926ac79 Support "Import Reflection" proposal (#13771) 2022-11-07 09:49:35 +08:00
fisker Cheung f3d1790533 Enable logical-assignment-operators rule (#13529) 2022-09-29 10:40:13 +08:00
fisker Cheung 3a852871a3 Fix createSandBox 2022-04-06 16:05:22 +08:00
fisker Cheung 6016404f59 Merge branch 'main' into next
# Conflicts:
#	.eslintrc.cjs
#	.github/workflows/prod-test.yml
#	.github/workflows/validate-vendors.yml
#	scripts/build/bundler.mjs
#	scripts/vendors/bundle-vendors.mjs
#	scripts/vendors/utils.mjs
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/logger.js
#	src/cli/options/get-options-for-file.js
#	src/cli/options/parse-cli-arguments.js
#	src/common/util.js
#	src/language-html/utils/html-tag-names.js
#	tests/integration/__tests__/bundle.js
#	tests/integration/__tests__/loglevel.js
#	tests/integration/run-prettier.js
#	vendors/string-width.js
2022-04-06 15:41:50 +08:00
fisker Cheung afd0220dea Move some bundle test code into tests/ (#12577) 2022-04-02 16:14:32 +08:00
fisker Cheung c96f148ccf Merge branch 'main' into next
# Conflicts:
#	tests/config/install-prettier.js
#	tests/format/js/cursor/jsfmt.spec.js
#	tests/integration/__tests__/doc-trim.js
#	tests/integration/__tests__/format.js
#	tests/integration/__tests__/line-suffix-boundary.js
#	tests/integration/__tests__/load-toml.js
#	tests/integration/__tests__/stdin-filepath.js
#	tests/integration/__tests__/with-parser-inference.js
2022-03-17 21:32:14 +08:00
fisker Cheung ae080df3e7 Enable unicorn/template-indent rule (#12469) 2022-03-17 20:13:28 +08:00
fisker Cheung c95c899b6f Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/logger.js
#	src/cli/options/get-options-for-file.js
#	src/cli/options/parse-cli-arguments.js
#	src/main/core.js
#	tests/config/install-prettier.js
#	vendors/execa.js
#	vendors/mem.js
#	vendors/string-width.js
#	vendors/tempy.js
#	yarn.lock
2022-03-17 09:44:08 +08:00
fisker Cheung 935d76780a Prevent plugin search on format test (#12322) 2022-03-15 09:44:37 +08:00
fisker Cheung f0b63f3dff Merge branch 'main' into next
# Conflicts:
#	CONTRIBUTING.md
#	cspell.json
#	docs/options.md
#	package.json
#	scripts/build/bundler.mjs
#	src/language-css/loc.js
#	src/language-css/parser-postcss.js
#	src/language-css/utils/index.js
#	tests/format/js/arrows-bind/jsfmt.spec.js
#	tests/format/js/async-do-expressions/jsfmt.spec.js
#	tests/format/js/bind-expressions/jsfmt.spec.js
#	tests/format/js/classes/top-level-super/jsfmt.spec.js
#	tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
#	tests/format/js/decorator-comments/jsfmt.spec.js
#	tests/format/js/decorators-export/jsfmt.spec.js
#	tests/format/js/decorators/jsfmt.spec.js
#	tests/format/js/do/jsfmt.spec.js
#	tests/format/js/export-default/escaped/jsfmt.spec.js
#	tests/format/js/export-extension/jsfmt.spec.js
#	tests/format/js/export-star/jsfmt.spec.js
#	tests/format/js/exports/jsfmt.spec.js
#	tests/format/js/invalid-code/jsfmt.spec.js
#	tests/format/js/logical-assignment/jsfmt.spec.js
#	tests/format/js/multiparser-invalid/jsfmt.spec.js
#	tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
#	tests/format/js/object-property-comment/jsfmt.spec.js
#	tests/format/js/partial-application/jsfmt.spec.js
#	tests/format/js/pipeline-operator/jsfmt.spec.js
#	tests/format/js/private-in/jsfmt.spec.js
#	tests/format/js/record/jsfmt.spec.js
#	tests/format/js/reserved-word/jsfmt.spec.js
#	tests/format/js/strings/jsfmt.spec.js
#	tests/format/js/throw_expressions/jsfmt.spec.js
#	tests/format/js/trailing-whitespace/jsfmt.spec.js
#	tests/format/js/v8_intrinsic/jsfmt.spec.js
#	tests/format/misc/errors/js/literal/jsfmt.spec.js
#	tests/format/misc/errors/js/object/jsfmt.spec.js
#	tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
#	tests/integration/__tests__/bundle.js
#	tsconfig.json
#	yarn.lock
2022-02-09 09:22:32 +08:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +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
dependabot[bot]andfisker Cheung 2c9adaed39 Build(deps): Bump lines-and-columns from 1.1.6 to 2.0.3 (#11861)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-11-29 10:06:40 +08:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
Klaus Hott Vidal b5eba9475f remove tests folder from path (#11035) 2021-06-07 17:32:22 +08:00
Klaus Hott Vidal 32b13b3972 Small detail in tests config (#11034) 2021-06-07 13:35:46 +08:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00