Commit Graph
3933 Commits
Author SHA1 Message Date
fisker Cheung 706aa4ef90 Switch js parse postprocess to onEnter (#18382) 2025-12-01 19:36:05 +08:00
fisker Cheung d3eb2b2d08 Reuse arrays in visitor keys (#18386) 2025-12-01 19:33:56 +08:00
c45fef106e Fix LWC attribute with --embedded-language-formatting off (#18383)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-01 11:25:11 +08:00
fisker Cheung 363a20e1c1 Improve getPreferredQuote (#18366) 2025-12-01 08:37:51 +08:00
fisker Cheung 95c4dd6f7e Minor tweak to end-of-line.js (#18367) 2025-12-01 08:20:20 +08:00
fisker Cheung 36380d9a70 Improve printDirective (#18371) 2025-12-01 07:47:47 +08:00
fisker Cheung e240f15e75 Major refactor (#18381) 2025-12-01 07:25:25 +08:00
fisker 2dce3ec090 Fix typo 2025-11-30 01:50:52 +08:00
fisker Cheung 27d6c645ca Revert previous change to getFileInfo (#18375) 2025-11-30 01:41:34 +08:00
fisker Cheung f4a7afaebf Add types for config related functions (#18376) 2025-11-30 01:39:58 +08:00
fisker Cheung 29a11ae1ae Fix comment in empty type literal (#18364) 2025-11-29 00:00:52 +08:00
Yuji Sugiura 70493171d2 Remove unused shouldBreak check in printTernaryOld (#18354) 2025-11-28 22:16:59 +08:00
c60eca2415 Fix embed html attribute print (#18352)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-28 21:40:34 +08:00
fisker Cheung 3e770b95a7 Fix string print (#18351) 2025-11-28 20:52:53 +08:00
Seiya 8785c6e3af Extract printWord in Markdown (#18355)
extract printWord
2025-11-28 16:36:31 +08:00
fisker Cheung d147f67ef1 Fix performance regression in doc printer (#18342) 2025-11-27 19:24:17 +08:00
fisker 3a098e32d4 Bump Prettier dependency to 3.7.0 2025-11-27 16:32:24 +08:00
fisker Cheung 2bcc3c2a54 User sourceType: 'commonjs' where possible (#18333) 2025-11-27 15:46:53 +08:00
Konv Suuandfisker Cheung a14c44f30e Fix K3WX.yaml (comments in map key) bug in yaml-test-suite (#18324)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-27 14:23:14 +08:00
renovate[bot]andfisker fad27abf37 chore(deps): update dependency meriyah to v7 (#18332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-27 13:19:42 +08:00
fisker Cheung 6ba133e80c Improve super class (or single heritage) breaking (#18325) 2025-11-26 19:43:08 +08:00
Seiyaandfisker Cheung e2ed914e02 Extract some print functions in markdown (#18321)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-26 13:49:48 +08:00
fisker Cheung 864bb7c042 Use TSImportType.source (#18319) 2025-11-25 04:16:22 +08:00
renovate[bot]andfisker 138f92764a chore(deps): update typescript-eslint to v8.48.0 (#18316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-25 03:39:01 +08:00
fisker Cheungandautofix-ci[bot] ca5c11e95d Enable @prettier/plugin-oxc in playground (#18315)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 02:13:03 +08:00
fisker Cheung 1d0c666f0d Remove empty line in for statement without "update" (#18300) 2025-11-23 16:23:23 +08:00
fisker Cheung 9a571e44dc Stricter check in shouldBreakJsxElement (#18299) 2025-11-22 12:45:47 +08:00
fisker Cheung 6fac964b40 Preserve explicit YAML document end marker (#18296) 2025-11-22 12:23:00 +08:00
fisker Cheung b79cfcf345 Update yaml-unist-parser to v2.1 (#18295) 2025-11-21 23:09:13 +08:00
fisker Cheung 9f2fad7aa4 Fix comments for method signature (#18287) 2025-11-19 13:04:32 +08:00
fisker Cheung 238c66f363 Remove dead code (#18279) 2025-11-19 02:08:57 +08:00
fisker Cheung 97079ee034 Forbid attach comments to File (#18274) 2025-11-18 22:23:55 +08:00
renovate[bot]andfisker 8c02a9f312 Update dependency oxc-parser to v0.98.0 (#18258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-18 00:18:21 +08:00
Seiya 5e82e9a823 Resolve extra indent for CSS comma separated value after block comment (#18228) 2025-11-17 23:01:08 +08:00
fisker Cheung 35718f2993 Fix inconsistent call print between CallExpression and NewExpression (#18206) 2025-11-17 22:43:24 +08:00
81859299b9 Fix misplacement of comments after arrow (#17421)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-17 21:10:01 +08:00
fisker Cheung 18c0f26bec Allow AstPath#call() to access property of nullish properties (#17860) 2025-11-17 20:56:20 +08:00
48b4ff97ad Fix the union type that contains an extra empty line (#18197)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-17 20:13:03 +08:00
fisker Cheungandautofix-ci[bot] 3b8e7960c1 Remove extra space before union type comment (#18253)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-17 13:22:09 +08:00
fisker Cheung 439fc2259c Minor tweak to class print (#18252) 2025-11-17 13:03:53 +08:00
Chiawen Chenandfisker Cheung 0273e33fc6 Avoid creating node_modules/.cache/ when --cache is not enabled (#18124)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-17 03:05:45 +08:00
fisker Cheung 8b05533e79 Improve getMaxContinuousCount (#18249) 2025-11-17 02:25:40 +08:00
fisker Cheung 5e19f43ebe Simplify makeString (#18248) 2025-11-17 00:34:56 +08:00
fisker Cheung 8d29f18fee Remove dead code (#18217) 2025-11-16 21:56:58 +08:00
fisker Cheung 4c4792fe64 Fix format of logical expression as new expression callee (#18245) 2025-11-16 21:50:52 +08:00
fisker Cheung b9dc504026 Fix comments in interface and class (#18244) 2025-11-16 21:27:45 +08:00
fisker Cheung 40d4bb1815 Remove redundant parentheses around JSX element (#18243) 2025-11-16 20:37:39 +08:00
fisker Cheung 2af5dc0a6f Clean up graphql visitor keys (#18213) 2025-11-16 19:24:21 +08:00
renovate[bot]andfisker Cheung 9e9f65e7b9 chore(deps): update dependency espree to v11 (#18226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-11 14:19:50 +08:00
fisker Cheung 5bc3cd61c8 Make single heritage interface print more like the class superClass (#18215) 2025-11-05 00:17:39 +08:00