Commit Graph
158 Commits
Author SHA1 Message Date
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 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
1c2ef1f0dd Extract isNewlineCharacter to eliminate duplication (#18182)
Co-authored-by: fisker <172584+fisker@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-11-01 13:02:08 +08:00
fisker CheungandAlexander Kachkaev 03e6828bfa Improve front matter support (#18153)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-10-30 22:16:54 +08:00
Tatsunori Uchino 3df17ca1bb refactor(markdown): improve getMinNotPresentContinuousCount (#18138) 2025-10-29 02:30:50 +08:00
912342210d Fix extra blank lines in Handlebars style tags (#18065)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 19:59:40 +08:00
9047a40a94 chore(deps): update dependency eslint-plugin-unicorn to v62 (#18130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-26 17:00:28 +08:00
fisker Cheung 6a3797983a Improve types for visitor keys (#18095) 2025-10-17 20:57:52 +08:00
fisker Cheung be48d262e7 Allow TOML front matter formatted by other plugins (#17991) 2025-09-28 20:13:39 +08:00
cd42072105 Support format TOML Front Matter (#17965)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 19:36:04 +08:00
fisker Cheung 21e98808a8 Add front-matter/index.js (#17955) 2025-09-24 08:56:18 +08:00
fisker Cheung 67329f4108 Use imports to replace hack in build script (#17953) 2025-09-24 08:24:17 +08:00
fisker Cheung b35ef6a549 Refactor Markdown pragma related logic (#17950) 2025-09-24 05:43:10 +08:00
fisker Cheung 4ec2648e61 Add location information to parseFrontMatter() (#17948) 2025-09-24 04:15:01 +08:00
Seiyaandfisker 99cd3d7426 Improve emoji width measurement (#17813)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-18 20:12:26 +08:00
renovate[bot]andfisker 1ff6e4c75d chore(deps): update dependency get-east-asian-width to v1.3.1 (#17832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-08-31 09:59:47 +08:00
37f6e09589 Avoid closing files multiple times in getInterpreter(#17665)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-06-25 14:27:33 +08:00
fisker Cheung 80a3b919ea Update linguist-languages to v8 (#17569) 2025-06-07 17:35:33 +08:00
fisker Cheungandautofix-ci[bot] 7fb9875413 Allow plugin override builtin parsers when inferring parser (#17549)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:23:49 +08:00
fisker Cheungandautofix-ci[bot] c26d23c955 Add oxc parser (#17472)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-27 09:35:31 +08:00
fisker Cheung 275fc2eb69 Improve isSupported() (#17490) 2025-05-20 13:19:15 +08:00
fisker Cheung eaeb1e7c04 Use search-closest to search Prettier config and Project root (#17412) 2025-04-29 02:39:18 +08:00
fisker Cheung e7202d63e7 Refactor mockable functionalities (#17392) 2025-04-23 23:42:19 +08:00
Will Nayesandfisker 21c6f43612 Ignore single files with @noformat / @noprettier (#17344)
Co-authored-by: fisker <lionkay@gmail.com>
2025-04-18 21:28:47 +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 d94700c704 Minor improvement to inferParser (#17328) 2025-04-14 08:13:32 +08:00
fisker Cheung 9282520e0e Put pragma related code together (#17346) 2025-04-13 02:44:25 +08:00
renovate[bot]andfisker 533dc86593 chore(deps): update dependency eslint-plugin-unicorn to v57 (#17147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-02-18 16:32:16 +08:00
renovate[bot]andfisker Cheung 10b25eecb7 chore(deps): update dependency ignore to v7.0.3 (#17025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-01-20 13:58:44 +08:00
fisker Cheung bbb65180e0 Replace "node-ignore"'s .ignores() with .checkIgnore() method (#16975) 2025-01-11 11:08:02 +08:00
renovate[bot]andfisker fc8d5b9f9d chore(deps): update dependency ignore to v7 (#16973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-01-08 10:57:26 +08:00
fisker Cheung 6b582a0619 Improve string print perfomance (#16763) 2024-11-04 15:24:02 +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
Mark Ameryandfisker Cheung d28d40ac0c Reduce how much text needs to be diffed when computing cursor positions (#15709)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 21:35:32 +08:00
SUZUKI Sosuke 3cf3f5ac29 Make getPreferredQuote public (#16567) 2024-08-14 09:34:58 +09:00
SUZUKI Sosuke 44a35adfa8 Don't remove uselsess \ in string literals (#16563) 2024-08-14 07:53:22 +09:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00
fisker Cheung 16e4de4774 Refactor front matter parsing (#16359) 2024-06-11 09:19:02 +08:00
fisker Cheung 590644170e Preserve explicit language in front matter (#16348) 2024-06-04 17:32:50 +08:00
fisker Cheung b26f56bd31 Update eslint-plugin-unicorn to v53 (#16275) 2024-06-04 09:39:19 +08:00
SUZUKI Sosuke d170b8f31d perf: Add fast path for printNumber (#16034)
* Add fast path to `printNumber`

* Remove code point check!
2024-02-06 16:05:17 +09:00
fisker Cheung c566c9df08 Fix parser inference (#15927) 2024-01-16 10:34:05 +08:00
Sosuke Suzuki ee0d667fa2 Bump Prettier dependency to 3.2.0 2024-01-13 01:17:26 +09:00
fisker Cheung 1dc924f2f2 Add jsonc parser (#15831) 2024-01-02 10:59:34 +08:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
fisker Cheung 5f0956bc30 Implement our own config explorer (#15663) 2023-12-05 15:00:43 +08:00
renovate[bot]andfisker Cheung 8ae13c13a8 chore(deps): update dependency url-or-path to v2.3.0 (#15684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-11-19 23:12:13 +08:00
fisker Cheung 1b21096744 Make findProjectRoot async (#15672) 2023-11-17 21:44:39 +08:00