Commit Graph
233 Commits
Author SHA1 Message Date
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
fisker Cheung b5043bcca5 Stop formatting unknown code with babel parser (#14718) 2023-04-21 13:12:11 +08:00
fisker Cheung 578f093d30 Accept multiple --ignore-paths (#14332) 2023-04-10 10:51:46 +08:00
fisker Cheung 1d320ff85b Add a writeFormattedFile to mock (#14657) 2023-04-04 09:08:44 +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 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 9bfebb4062 Fix perf test scripts (#14460) 2023-03-08 09:18:45 +08:00
fisker Cheung 8865ade202 Move DebugError into cli/ (#14464) 2023-03-08 09:08:59 +08:00
fisker Cheung b9f02a9eb5 Refactor options normalization (#14410) 2023-03-01 09:58:19 +08:00
SUZUKI Sosukeandfisker Cheung 813df18df6 Moves @types/prettier to this repository (#14212)
* Rename `types` to `thirs-party-types`

* Copy `index.d.ts` from `@types/prettier`

* Make public APIs async

* Add missing `formatAST`

* Fix `CustomParser`

* Fix `Parser.parse` signature

* Add comment

* Add `standalonw.d.ts`

* first implement

* Fix path

* Add missing parser `.d.ts`

* Fix

* Fix path

* Introduce valid tests

* Add unit tests for dts files

* Add unit tests

* Simplify unit testing

* Tweaks structures

* Revert needless change

* Fix types path

* Introduce `ts-expect`

* Fix doc utils api

* Add AstPath API

* Fix API

* Fix tests

* Fix changelog

* Move dts

* Update module specifiers

* Remove generate dts config file

* Update build scripts

* Fix type errors

* Refactor with namespace imports

* Update comments

* Fix build script

* Improve build script

* `typing` -> `types`

* Clean up

* Minor tweak

* Minor tweak

* Modify `exports` field

* Fix paths in builder

* Refactor

* Refactor

* Address review

* Update changelog

* Address reviews

* Remove `since` from tests

* Improve utils type def

* Mark deprecated methods

* Address review

* Move docs types

* Address review

* Update c8 config

* Minor tweak

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-02-23 22:15:18 +09:00
fisker Cheung f83b69111d CLI: Display posix style paths on Windows (#14333) 2023-02-19 20:27:37 +08:00
fisker Cheung 4fb03a7f2a Remove dynamic imports (#14369) 2023-02-18 11:28:58 +08:00
fisker Cheung cb901d0f0d Refactor ignore check (#14324) 2023-02-10 17:51:13 +08:00