Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung 12d8ac32c5 Merge branch 'main' into next
# Conflicts:
#	cspell.json
#	package.json
#	tests/integration/__tests__/early-exit.js
#	yarn.lock
2022-01-04 15:04:40 +08:00
fisker Cheung 624c51101c Enable unicorn/prefer-json-parse-buffer and unicorn/no-useless-promise-resolve-reject rule (#12043) 2022-01-04 13:56:10 +08:00
fisker Cheung 3a1de5cb4f Simplify clean-cspell script (#12015) 2022-01-03 22:17:14 +08:00
fisker CheungandSosuke Suzuki 5f453482bc Add internal ESLint rule await-cli-tests (#12013)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-03 22:16:25 +08:00
fisker Cheung cf4bf1adc0 Simplify cli options stack (#11994) 2021-12-24 19:34:18 +08:00
fisker Cheung 07f7ad8c79 Improve shorthand specifier detection (#11941) 2021-12-18 11:16:18 +08:00
fisker Cheung bdea56df87 Add changelog back (#11980) 2021-12-18 11:13:35 +08:00
fisker Cheung 306d009904 Use camelCase cli arguments internally (#11976) 2021-12-18 11:11:49 +08:00
fisker Cheung 6317e6557e Test: Make runPrettier result "thenable" (#11979) 2021-12-18 11:10:03 +08:00
fisker Cheung a938cf525c Fix 2021-12-17 10:37:49 +08:00
fisker Cheung 49c6b82517 Merge branch 'main' into next
# Conflicts:
#	package.json
#	tests/integration/__tests__/help-options.js
#	yarn.lock
2021-12-17 10:30:50 +08:00
fisker Cheung 326f23cd35 Restructure cli files (#11974) 2021-12-16 09:21:15 +08:00
fisker Cheung cd4a57b113 Remove .pre-commit-hooks.yaml (#11936) 2021-12-09 14:14:26 +08:00
fisker Cheung 011672669e Merge branch 'main' into next
# Conflicts:
#	package.json
#	yarn.lock
2021-12-07 15:15:42 +08:00
fisker Cheung fa821da366 Update netlify config (#11937) 2021-12-07 15:09:56 +08:00
fisker Cheung 294a02b979 Enable regexp/no-useless-lazy rule (#11014) 2021-12-07 14:15:03 +08:00
fisker Cheung e2d07b35ec Enable unicorn/prefer-switch (#11935) 2021-12-07 14:13:12 +08:00
fisker Cheung 7bce1d02c7 Fix comments inside map (#11920) 2021-12-06 21:31:51 +08:00
fisker Cheung 6b39dbe876 Update tempy to v2 (#11931) 2021-12-06 21:31:46 +08:00
fisker Cheung afa9e1eebf Add funding field to package.json (#11914) 2021-12-06 13:55:58 +08:00
fisker Cheung 29f408c99e Add changelog for #11892 (#11904) 2021-12-04 22:22:08 +09:00
fisker Cheung e7a74529a5 Make options argument in parsers optional (#11892) 2021-12-04 22:21:51 +09:00
fisker Cheung 5028086e07 Refactor integration test files to use ES Module (part 2) (#11912) 2021-12-03 15:41:12 +08:00
fisker Cheung 257a8dfd26 Add changelog for #11892 (#11904) 2021-12-03 13:19:57 +09:00
fisker CheungandSosuke Suzuki b49da10d38 Include bundled dependencies licenses in LICENSE file (#10006)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2021-12-02 19:47:14 +08:00
fisker Cheung dd2856341b Build: Remove aliases (#11885) 2021-12-02 19:12:59 +08:00
fisker Cheung 81d7ca3926 Merge branch 'main' into next 2021-12-02 14:00:53 +08:00
fisker Cheung 56818db4b4 Update postcss-scss to v4.0.2 (#11886) 2021-12-02 13:58:49 +08:00
fisker Cheung ff1b2b52d2 Update postcss to v8.4 (#11887) 2021-12-02 13:58:41 +08:00
fisker Cheung 16b6825172 Make options argument in parsers optional (#11892) 2021-12-02 13:56:47 +08:00
fisker Cheung 8ffbcbbcae Refactor integration test files to use ES Module (#11891) 2021-12-02 10:19:32 +08:00
fisker Cheung 0d6d47b30a Merge branch 'main' into next
# Conflicts:
#	package.json
#	yarn.lock
2021-12-01 16:35:15 +08:00
fisker Cheung 1d9d314b45 Update jest-docblock babel-jest jest (#11893) 2021-12-01 16:25:52 +08:00
fisker Cheung f5785a90a1 Fix build script 2021-11-30 21:28:06 +08:00
fisker Cheung e2c570d913 Fix build script 2021-11-30 21:24:51 +08:00
fisker Cheung 48243c2a3e Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	yarn.lock
2021-11-30 21:17:36 +08:00
fisker Cheung 62ede8b710 Build: Remove unnecessary aliases (#11868) 2021-11-29 12:52:43 +08:00
fisker Cheung 1bdd1d115c Update execa to v6 (#11826) 2021-11-29 10:07:11 +08:00
fisker Cheung 569111e708 Update build script (#11858) 2021-11-27 18:47:02 +08:00
fisker Cheung 44c8508e02 Merge branch 'main' into next
# Conflicts:
#	yarn.lock
2021-11-22 11:24:52 +08:00
fisker Cheung 15f869dec2 Update string-width to v4.2.3 (#11853) 2021-11-22 10:52:42 +08:00
fisker Cheung cd25b86e60 Regenerate yarn.lock (#11852) 2021-11-22 10:49:18 +08:00
fisker Cheung b70cef161b Drop support for Node.js 10 (#11830) 2021-11-22 09:48:28 +08:00
fisker Cheung 8a85ba4e18 Update acorn (#11835)
* Update `acorn`

* Fix test, add changelog
2021-11-21 01:44:28 +09:00
fisker Cheung ca97e4b4d2 Update execa to v6 for release script (#11829) 2021-11-19 20:50:30 +08:00
fisker Cheung 3001154f8d Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	yarn.lock
2021-11-18 10:40:53 +08:00
fisker Cheung ffbd04ebe2 Fix typo in filename (#11792) 2021-11-09 15:36:42 +09:00
fisker Cheung 70aa861bc1 Fix internal ESLint plugin (#11780) 2021-11-08 18:17:15 +08:00
fisker Cheung 9440b70563 Fix error on deleting variables (#11750)
* Fix error on delete variables [skip ci]

* Add changelog
2021-11-06 22:06:30 +09:00
fisker Cheung 7bda3a3a58 Update ESLint to v8 (#11681) 2021-10-20 15:51:46 +08:00
fisker Cheung 4d5f865373 Improve parser-postcss.js minify config (backport #11674) (#11677)
* Improve `parser-postcss.js` minify config (backport #11674)

* Add `string-replace-loader`

* Linting
2021-10-15 14:35:09 +09:00
fisker Cheung 71d8af4159 Fix bundled parser-postcss.js for next branch (#11674)
* Fix bundled `parser-postcss.js`

* Remove `terserOptions`

* Update comment
2021-10-13 13:54:47 +09:00
fisker Cheung e96dc509ec Update eslint config (#11595) 2021-09-28 11:16:39 +08:00
fisker Cheung ad357d236f Minor refactor (#11566) 2021-09-22 13:49:55 +08:00
fisker Cheung 04391a0f32 Minify parser-postcss.js (#11489) 2021-09-12 23:26:29 +08:00
fisker Cheung 5ce28ddd7f Refactor website build script (#11488) 2021-09-11 09:55:46 +08:00
fisker Cheung 567676c639 Linting 2021-09-10 13:55:24 +08:00
fisker Cheung 3d1469969b Merge branch 'main' into next
# Conflicts:
#	scripts/build/bundler.mjs
#	scripts/build/rollup-plugins/replace-module.mjs
#	scripts/build/shims/fs.mjs
2021-09-10 13:53:22 +08:00
fisker Cheung 8a01dee53e Refactor build script (#11475) 2021-09-10 10:20:43 +08:00
fisker Cheung d3d1bc19bd Use pnpm 6 (#11477) 2021-09-09 19:13:59 +08:00
fisker Cheung 4b2ba45825 Fix the trailingComma value from "always" to "all" in v2 blog post (#11480) 2021-09-09 18:54:45 +08:00
fisker Cheung 0cc8e96c37 Refactor installPrettier (#11476) 2021-09-09 18:53:31 +08:00
fisker Cheung a3cfb5a81c Merge branch 'main' into next 2021-09-09 16:15:34 +08:00
fisker Cheung 339e0c6db7 Fix build script (#11468) 2021-09-09 16:14:09 +08:00
fisker Cheung 62a2629743 Build: Support build single file (#11469) 2021-09-09 12:23:53 +08:00
fisker Cheung e0f1f01ab4 Merge branch 'main' into next 2021-09-09 10:08:38 +08:00
fisker Cheung f46e68052a Merge branch 'main' into next
# Conflicts:
#	src/language-css/utils.js
#	yarn.lock
2021-09-08 13:41:12 +08:00
fisker Cheung beba6fa88c Merge branch 'next' of github.com:prettier/prettier into next
# Conflicts:
#	package.json
#	yarn.lock
2021-09-08 12:54:17 +08:00
fisker Cheung 04e1cee3bc Fix comments (#11464) 2021-09-08 12:28:29 +08:00
fisker Cheung 754531032d Enable regexp/no-unused-capturing-group rule (#11013) 2021-09-08 11:18:07 +08:00
fisker Cheungandsosukesuzuki 07786bd758 Revert "Revert features for minor" (#11044)
* Revert "Revert features for minor (#11016)"

This reverts commit 09d65c35af.

* Update cspell.json

Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-08-31 13:40:52 +09:00
fisker Cheung cecc2941f5 Update postcss from v8.2.7 to v8.3.6 (#11342) 2021-08-18 12:55:55 +08:00
fisker Cheung 5bdd696aad Update postcss-less from v4 to v5 (#11343) 2021-08-18 11:08:37 +08:00
fisker Cheung 051e20591a Lint dist files with eslint-plugin-compat (#11245) 2021-08-16 15:08:19 +08:00
fisker Cheung 8b273d5e8c Update postcss-scss from v4 to v5 (#11360) 2021-08-16 15:05:55 +08:00
fisker Cheung 48b406164d Merge branch 'main' into next
# Conflicts:
#	yarn.lock
2021-08-13 11:52:19 +08:00
fisker Cheung a998e3c34d Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	src/language-css/loc.js
#	yarn.lock
2021-08-13 11:45:05 +08:00
fisker Cheung 4f1e554566 Fix a rollup warning (#11270) 2021-07-26 15:04:38 +08:00
fisker Cheung a77845638f Combine ESLint config files (#11240) 2021-07-26 09:25:13 +08:00
fisker Cheung 84abd0ec22 Migrate release script to ESM (#11229) 2021-07-26 09:24:44 +08:00
fisker Cheung c9e6ada108 Build: Fix unexpected require()s in parser-typescript.js (#11130) 2021-07-26 09:17:34 +08:00
fisker Cheung 8af696e435 Use setup-node cache yarn dependencies (#11243) 2021-07-25 12:13:19 +08:00
fisker Cheung 776b3ff13d Recognize zx interpreter (#11238) 2021-07-22 09:44:42 +08:00
fisker Cheung bd4a5ff990 Update cspell (#11236) 2021-07-22 09:44:06 +08:00
fisker Cheung b001969b94 Remove require-json-extensions rule (#11233) 2021-07-22 09:32:21 +08:00
fisker Cheung 6bd8deae89 Regenerate yarn.lock file for website (#11234) 2021-07-22 09:31:17 +08:00
fisker Cheung 5f0ee39fa0 Added replaceEndOfLine and replaceTextEndOfLine (#10913) 2021-07-21 10:02:33 +08:00
fisker Cheung 514046b3c7 Use eslint-plugin-prettier-internal-rules package (#11228) 2021-07-21 09:10:52 +08:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
fisker Cheung 14a952aafb Move js parsers to a separate directory (#11195) 2021-07-15 09:53:34 +08:00
fisker Cheung e1afe1adc2 Remove parser getters from universal bundles (#11137) 2021-07-13 15:16:31 +08:00
fisker Cheung 10053999d7 Update meriyah to v4.2.0 (#11194) 2021-07-12 14:45:33 +08:00
fisker Cheung ff1870ab77 Remove useless package info from standalone build (#11138) 2021-07-12 14:33:52 +08:00
fisker Cheung 5378e99859 Update angular to v12.1.1 (#11173) 2021-07-08 15:28:10 +08:00
fisker Cheung 57f8eec8e6 Website: Add mode to webpack command (#11131) 2021-06-29 09:10:18 +08:00
fisker Cheung 57616ad865 Enable no-return-await and require-await rule, fix clean-cspell script (#11079) 2021-06-16 22:20:47 +08:00
fisker ec04b39bc9 Disable parser-postcss.js minify temporarily 2021-06-14 01:49:56 +08:00
fisker a0e8bdfe2b Fix lint 2021-06-14 00:57:02 +08:00
fisker 77f8f0ddb5 Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	yarn.lock
2021-06-14 00:31:55 +08:00
fisker Cheung 1aa188ecd1 Enable no-console rule on CI (#11045) 2021-06-11 14:16:59 +08:00