Commit Graph
248 Commits
Author SHA1 Message Date
fisker Cheungandautofix-ci[bot] d49444352a Fix plugin loading in prettier.getFileInfo() (#17548)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:10:39 +08:00
fisker Cheung d8ab2b1f66 Fix exit code and result message when parser can not infer (#17505) 2025-06-02 22:53:37 +08:00
Leonardo Montiniandfisker abb43bf287 Forbid use --config and --no-config together (#12221)
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-27 09:16:26 +08:00
renovate[bot]andfisker bba5dc430c chore(deps): update dependency file-entry-cache to v10.1.0 (#17438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-27 09:06:53 +08:00
fisker Cheung 953a8cc6dd Fix colors detect for logger (#17455) 2025-05-15 11:26:24 +08:00
fisker Cheung e7202d63e7 Refactor mockable functionalities (#17392) 2025-04-23 23:42:19 +08:00
fisker Cheung 369817b61f Measure time with performance.now() instead of Date.now() (#17390) 2025-04-23 02:51:20 +08:00
fisker Cheung a8557aa6df Remove stdin mock (#17389) 2025-04-23 02:30:55 +08:00
JounQinandfisker Cheung c93393c0be Add isSupported function support for language (#17331)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-04-14 09:15:43 +08:00
fisker Cheung 7e892c4613 Minor improvement to expandPatterns (#17345) 2025-04-14 08:15:15 +08:00
fisker Cheung fe536ff6b1 Remove extra lines in --file-info and --support-info (#17332) 2025-04-09 15:23:50 +08:00
fisker Cheung f406c9cab9 Update find-cache-directory to v6 (#17327) 2025-04-09 07:41:12 +08:00
fisker Cheung 0acd1cdff8 Share picocolors and leven with CLI (#17230) 2025-03-11 13:48:56 +08:00
fisker Cheung c118e9db8e Replace chalk with picocolors (#17226) 2025-03-10 11:48:01 +08:00
fisker Cheung 9dac37c608 Replace benchmark with tinybench (#17132) 2025-02-26 16:06:02 +08:00
SUZUKI Sosuke 61c0129ce5 Invalidate outdated cache file (#17100) 2025-02-12 16:32:51 +09:00
renovate[bot] 36460be18f chore(deps): update dependency file-entry-cache to v10 (#16725) 2025-01-17 23:48:00 +08:00
fisker Cheung a962a26ba1 Improve FormatResultsCache (#16981) 2025-01-11 11:04:47 +08:00
fisker Cheung 834786591f Use JSDoc @import Tag (#16706) 2024-10-01 20:45:37 +09:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
fisker Cheung 47fc261aad Remove eslint-plugin-import (#16697) 2024-09-27 20:49:39 +08:00
Marcus Pettersen Irgensandfisker Cheung 5bb04801a2 Ignore files in the Jujutsu directory (#16684)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 19:53:37 +08:00
fisker Cheung e0117a165b Add Knip (#16653) 2024-09-18 16:40:10 +08:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00
fisker Cheung b26f56bd31 Update eslint-plugin-unicorn to v53 (#16275) 2024-06-04 09:39:19 +08:00
fisker Cheung a8d9536eed Remove outdated hack for diff package (#16083)
* Remove outdated hack for `diff` package

* Deep import

* Fix

* Share from core
2024-03-09 20:54:21 +09:00
Matt d'Entremont 4aebc0ecc8 Add "--write" to the prettier failure output (#16062) 2024-02-14 09:16:13 +00:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
fisker 7ffc3cc676 Switch wcwidth to wcwidth.js 2023-12-15 06:08:05 +08:00
Sander Maijersandfisker 8e816ade2e Allow skipping symlink patterns, to avoid raising a fault (#15533)
Co-authored-by: fisker <lionkay@gmail.com>
2023-12-08 01:54:18 +09:00
fisker Cheung 117c04fcc8 Simplify mockable (#15729) 2023-12-05 14:39:11 +08:00
fisker Cheung e4a74c05f4 Fix argument passed to lilconfig.search() (#15363) 2023-11-16 01:05:57 +08:00
Sosuke Suzuki eebf0e4b5e Bump Prettier dependency to 3.1.0 2023-11-13 12:00:57 +09:00
ADTC 7e67e43061 Show (unchanged) keyword for accessibility in CLI --write (#15467) 2023-10-09 08:40:28 +09:00
SUZUKI Sosuke 9f06cdd5b0 Process files only supported by plugins (#15433) 2023-09-25 14:45:01 +09:00
fisker Cheung 98ae581402 Minor tweak to CLI (#15366) 2023-09-07 16:32:43 +08:00
fisker Cheung 37139afeaa Meta tweak (#15331) 2023-09-04 19:54:16 +08:00
fisker Cheung 7c7ab7f7a2 Fix --stdin-file-path (#15328) 2023-09-02 09:15:48 +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 941c6b3a3c Minor refactor to getSupportedFilesGlob (#15319) 2023-08-29 14:37:54 +08:00
fisker Cheung 423011dcab Minor refactor to expandPatterns (#15317) 2023-08-28 22:00:58 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
ZHAO Jin-Xiang 6e6b16771d feat: enable strict type checking (#14984) 2023-07-03 01:54:22 +09:00
Sébastien Règne 54586e00b4 feat: Add name to errors (#14913)
* feat: Add name to errors.

* feat: Add name to errors.

* Add tests
2023-06-13 13:57:43 +09:00
fisker Cheung c0f6f2da8b Clear filename before print ignored file code to screen (#14794) 2023-05-16 20:40:18 +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 b86e42cc84 Ignore .gitignored files (#14731) 2023-05-04 17:20:05 +08:00
Anders Kaseorgandfisker dcc081db0d Don’t expand globs via symbolic links (#14627)
Co-authored-by: fisker <lionkay@gmail.com>
2023-05-04 17:01:20 +08:00
SUZUKI Sosuke f624507259 Print line breaking after file path with errors (#14788) 2023-05-04 17:51:14 +09:00