Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung f7959cccbf Fix empty Prettier config file create command (#15367) 2023-09-14 10:27:26 +08:00
fisker Cheung bf7d90ae84 Switch html-styles to html-ua-styles (#15334) 2023-09-14 09:45:15 +08:00
fisker Cheung 909e0e6ee6 Unpin Node.js v20 version (#15373) 2023-09-12 09:57:26 +08:00
fisker Cheung 273a393d15 Add node.source.end.offset back (#15368) 2023-09-10 12:16:26 +08:00
fisker Cheung 98ae581402 Minor tweak to CLI (#15366) 2023-09-07 16:32:43 +08:00
fisker Cheung b9a3995e3a Refactor: Accept URL in isIgnored and inferParser (#15361) 2023-09-07 09:27:39 +08:00
fisker Cheung b2c33a4cec Accept URL in getFileInfo (#15360) 2023-09-06 15:49:22 +08:00
fisker Cheung 7e45a92707 Accept URL in resolveConfig (#15354) 2023-09-06 14:54:36 +08:00
fisker CheungandSUZUKI Sosuke 56752e00e5 Accept URL in resolveConfigFile (#15332)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2023-09-04 19:59:42 +08:00
fisker Cheung 37139afeaa Meta tweak (#15331) 2023-09-04 19:54:16 +08:00
fisker Cheung 411ef345a2 Fix comment between parentheses and function body (#15326) 2023-09-02 09:18:15 +08:00
fisker Cheung 958b355ccb Fix comment around TSParameterProperty (#15324) 2023-09-02 09:16:36 +08:00
fisker Cheung 7c7ab7f7a2 Fix --stdin-file-path (#15328) 2023-09-02 09:15:48 +08:00
fisker Cheung 0d04d78367 Replace cosmiconfig with lilconfig (#15232) 2023-09-02 01:02:22 +08:00
fisker Cheung 6184a1ed42 Get ride of require() in acorn and espree parser (#15335) 2023-08-31 09:41:15 +08:00
fisker Cheung 094b30c06f Use process.exitCode instead of process.exit() (#15327) 2023-08-30 10:21:31 +08:00
fisker Cheung a2a4564fae Move --cache-strategy check into index.js (#15329) 2023-08-30 10:20:46 +08:00
fisker Cheung a35008fb0a Support shared config that forbids require() (#15233) 2023-08-29 16:11:43 +08:00
fisker Cheung 941c6b3a3c Minor refactor to getSupportedFilesGlob (#15319) 2023-08-29 14:37:54 +08:00
fisker Cheung f6c9e9b0b8 Assert uniqueness in language properties (#15320) 2023-08-29 09:52:41 +08:00
fisker Cheung 423011dcab Minor refactor to expandPatterns (#15317) 2023-08-28 22:00:58 +08:00
fisker Cheung f986dc5668 Add packageManager to submodules (#15318) 2023-08-28 21:46:33 +08:00
fisker Cheung 7d56bc8752 Add preferUnplugged: true to package.json (#15169) 2023-08-28 10:25:36 +08:00
fisker Cheung 999c2c2750 Build: Use node:util to parse arguments (#15253)
* Build: Use `node:util` to parse arguments

* Fix

* Update parse-arguments.js
2023-08-23 16:15:25 +09:00
fisker Cheung f75f717c4e Allow break require() argument (#15256) 2023-08-23 15:58:06 +09:00
fisker Cheung dc3ebe812f Add test to close #14635 (#15254) 2023-08-23 15:57:07 +09:00
fisker Cheung f24132eda3 Make chalk/assert shim a Proxy (#15234) 2023-08-15 09:11:53 +08:00
fisker Cheung 29854ca8da Fix comments print in IfStatement (#15076) 2023-07-29 10:01:46 +08:00
fisker Cheung 12fd8891af Update typescript-eslint to v6 (#14429) 2023-07-22 02:35:30 +08:00
fisker Cheung 28d66241c5 Clean .prettierignore (#15071)
* Clean `.prettierignore`

* Add `**/.yarn/*` back
2023-07-16 13:54:58 +09:00
fisker Cheung 79d8a39838 Fix a TODO in website build script (#15072) 2023-07-11 14:50:00 +08:00
fisker Cheung f24cff38d4 Update cjk-regex, regexp-util, and unicode-regex (#15069) 2023-07-10 19:45:18 +08:00
fisker Cheung 958379ce52 Update v3 blog post (#15028) 2023-07-08 08:23:19 +08:00
fisker Cheung e2f4ce38f7 Improve cursor tracking (#14812) 2023-07-06 09:51:29 +08:00
fisker Cheung 44979b0a37 Remove test step from release script (#15011) 2023-07-04 16:15:54 +08:00
fisker Cheung e12afe89f3 Regenerate yarn.lock file (#15010) 2023-07-04 13:53:42 +08:00
fisker Cheung db31fd602e Regenerate yarn.lock file for website (#15009) 2023-07-04 13:16:58 +08:00
fisker Cheung 04f0015d2a Fix prConcurrentLimit 2023-06-18 10:49:39 +08:00
fisker Cheung c0f6f2da8b Clear filename before print ignored file code to screen (#14794) 2023-05-16 20:40:18 +08:00
fisker Cheung 7054be5ba0 Remove unused dependency from release script (#14806) 2023-05-08 11:32:45 +08:00
fisker Cheung 05a32d377f Switch string-width to eastasianwidth (#14793) 2023-05-06 16:56:49 +08: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 fbd82cf774 Update @angular/compiler to v16 (#14792) 2023-05-05 10:27:46 +08:00
fisker Cheung b86e42cc84 Ignore .gitignored files (#14731) 2023-05-04 17:20:05 +08:00
fisker Cheung 5df9073570 Move estree printer into print/ (#14769) 2023-04-27 15:49:32 +08:00
fisker Cheung 1107ae6bd0 Suggest use named import in docs and changelogs (#14758) 2023-04-25 16:22:47 +08:00
fisker Cheung d6f30ad3d9 Build: add default exports to ESM bundles (#14757) 2023-04-25 15:37:56 +08:00
fisker Cheung 8edd605f18 Fix bultin plugins, keep public plugins sync (#14756) 2023-04-25 10:45:08 +08:00
fisker Cheung 1606af78cd Fix changelog 2023-04-23 16:02:03 +08:00
fisker Cheung 0416ff42e2 Merge remote-tracking branch 'remotes/upstream/patch-release'
# Conflicts:
#	.git-blame-ignore-revs
#	docs/browser.md
#	package.json
#	yarn.lock
2023-04-23 15:59:21 +08:00
fisker Cheung 6c2ea7586e Git blame ignore 2.8.8 2023-04-23 15:32:32 +08:00
fisker Cheung fe8fcb5f98 Bump Prettier dependency to 2.8.8 2023-04-23 15:32:30 +08:00
fisker Cheung 1b7fad5255 Release 2.8.8 2023-04-23 15:22:56 +08:00
fisker Cheung 2b12079d57 Enable plugin:regexp/recommended (#14445) 2023-04-23 09:41:05 +08:00
fisker Cheung e234b73a99 Rename functions (#14735) 2023-04-22 22:19:41 +08:00
fisker Cheung b5043bcca5 Stop formatting unknown code with babel parser (#14718) 2023-04-21 13:12:11 +08:00
fisker Cheung 7f292bd8f3 Simplify printIntersectionType (#14728) 2023-04-20 15:09:19 +08:00
fisker Cheung fb948bb15f Integration test: Rename runPrettier to runCli (#14687) 2023-04-11 08:44:23 +08:00
fisker Cheung 578f093d30 Accept multiple --ignore-paths (#14332) 2023-04-10 10:51:46 +08:00
fisker Cheung bec997e85c Fix cursor tracking inside JSXText (#14163) 2023-04-10 10:44:31 +08:00
fisker Cheung ecfa324b69 Format <script> inside SVG (#14400) 2023-04-10 10:43:48 +08:00
fisker Cheung 686320a88c Fix inconsistent union/intersection type format between TS and Flow (#14654) 2023-04-10 09:58:12 +08:00
fisker Cheung 1e50206d28 Improve new line after { detection in TSMappedType (#14659) 2023-04-10 09:56:39 +08:00
fisker Cheung cddb59d211 Don't apply plugin default options from unused plugins (#14664) 2023-04-07 11:08:41 +08:00
fisker Cheung 02a50e5bb9 Angular: Support computed optional member expression (#14658) 2023-04-07 09:53:59 +08:00
fisker Cheung 20320a56e4 Fix typo (#14653) 2023-04-07 09:52:19 +08:00
fisker Cheung e4349cae71 Bump @prettier/parse-srcset to v3 (#14665) 2023-04-05 16:51:32 +08:00
fisker Cheung 78b0a6bb80 Fix plugin resolve logic (#14663) 2023-04-04 10:53:50 +08:00
fisker Cheung 1d320ff85b Add a writeFormattedFile to mock (#14657) 2023-04-04 09:08:44 +08:00
fisker Cheung 42584d48d2 Remove outdated visitor key for TSAbstractMethodDefinition (#14662) 2023-04-04 09:07:29 +08:00
fisker Cheung 4965a790cb Forbid decorators on object property (#14661) 2023-04-04 09:07:15 +08:00
fisker Cheung 1d4f243d72 Ignore/generate files during --cache test (#14629) 2023-04-03 16:10:40 +08:00
fisker Cheung 0af711b66c Fix signature of embed (#14598) 2023-04-03 09:42:49 +08:00
fisker Cheung a78e514d77 Improve doc printer when printWidth: Infinity (#14638) 2023-03-31 16:47:26 +08:00
fisker Cheung ca2c0ccacb Put types first in exports (#14637) 2023-03-31 14:15:09 +08:00
fisker Cheung df7771caf5 CLI: Use absolute path internally (#14632) 2023-03-31 09:04:33 +08:00
fisker Cheung 233ae12d26 Quote patterns in error message (#14631) 2023-03-30 16:57:01 +08:00
fisker Cheung c933bffc49 Test: Remove final new line in stdout/stderr (#14630) 2023-03-30 14:25:28 +08:00
fisker Cheung d70f7b989b Fix inconsistent option normalization (#14622) 2023-03-29 17:48:29 +08:00
fisker Cheung 97fda8c11d Remove showInternal option from getSupportInfo() (#14621) 2023-03-29 14:43:01 +08:00
fisker Cheung cffb812912 Improve getSupportInfo (#14620) 2023-03-29 14:01:47 +08:00
fisker Cheung 75cd9992f0 Recognize the new search element (#14615) 2023-03-29 09:14:24 +08:00
fisker Cheung 3f1153ba27 Add parens to head of arrow function body instead of whole expression (#14599) 2023-03-29 09:13:46 +08:00
fisker Cheung 992ed5b572 Update dependabot and renovate to target main branch (#14614) 2023-03-28 16:56:35 +08:00
fisker Cheung d0eb185980 Move embed check together with print logic (#14613) 2023-03-28 16:30:36 +08:00
fisker Cheung 3614c17d24 Rewrite HTML embed format (#14606) 2023-03-28 16:20:30 +08:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
fisker Cheung 47f4e59fc0 Whitelist keys when build package.json file (#14611) 2023-03-28 15:42:40 +08:00
fisker Cheung b98576332a Fix playground (#14610) 2023-03-28 08:55:54 +08:00
fisker Cheung 3b82a34366 Merge pull request #9583 from prettier/next 2023-03-27 15:37:33 +08:00
fisker Cheung bae1eb4a14 Move ts script check into embed print (#14559) 2023-03-27 14:22:54 +08:00
fisker Cheung 919670df68 Refactor printParenthesizedValueGroup (#14540) 2023-03-27 14:17:49 +08:00
fisker Cheung 3c7e2173e4 Stop insert unnessary leading semicolon in vue event binding (#14557) 2023-03-27 13:37:05 +08:00
fisker c4d7a4bce7 Update snapshot 2023-03-27 11:00:14 +08:00
fisker 9329924de4 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	tests/format/typescript/decorators/jsfmt.spec.js
#	yarn.lock
2023-03-27 10:58:40 +08:00
fisker Cheung 4edb68ac50 Remove dead code (#14554) 2023-03-24 18:53:23 +08:00
fisker Cheung d883834963 Test invalid TOML config (#14583) 2023-03-24 16:30:56 +08:00
fisker dd779dae55 Merge branch 'patch-release'
# Conflicts:
#	.git-blame-ignore-revs
#	package.json
#	yarn.lock
2023-03-24 16:24:07 +08:00
fisker 353e3ac64c Clean changelog 2023-03-24 16:20:25 +08:00
fisker 5ed59be7bd Git blame ignore 2.8.7 2023-03-24 16:17:50 +08:00