Seiya
f2cfef1ec2
Correct frontmatter length measurement ( #18453 )
2025-12-09 23:22:42 +08:00
Konv Suu and fisker
9a2d9cbed6
Allow duplicated keys in yaml ( #18417 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-12-04 01:12:04 +08:00
e2d0ba890e
Support format allow attribute of iframe ( #17879 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-09-25 09:48:21 +08:00
fisker Cheung
6ec66d80fc
Improve single expression detection ( #17943 )
2025-09-24 02:02:37 +08:00
72cfa18a42
Support format html event attributes ( #17909 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-09-24 01:29:56 +08:00
renovate[bot] and fisker
a6bbdad8ca
chore(deps): update dependency jest to v30.1.1 ( #17819 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-08-30 15:36:22 +08:00
fisker Cheung
2763319027
Fix HTML format that tag name is an object prototype property ( #17501 )
2025-06-02 22:56:07 +08:00
fisker Cheung
a358006a92
Rewrite TSMappedType print ( #17498 )
2025-05-27 09:11:00 +08:00
汐
2604b3eeb3
Add embed format support for script[type="text/jsx"] in html ( #17495 )
2025-05-27 09:09:14 +08:00
Maxime Brazeilles and fisker
906565775b
Enabling CSS formatting within <mj-style> tag ( #17338 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-05-06 09:46:15 +08:00
Klaus Hott Vidal and fisker
16449ce914
renaming jsfmt.spec.js to format.test.js ( #16244 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2024-05-06 10:25:10 +08:00
fisker Cheung
6eda34db44
Test: Rename run_spec to runFormatTest ( #15943 )
2024-01-19 17:20:24 +08:00
fisker Cheung
8227c0a69e
Fix formatting of prettier-ignored unclosed elements ( #15748 )
2023-12-13 16:13:26 +08:00
Mark Amery
be2fe89b43
Add a bunch more cursor position test cases ( #15787 )
2023-12-13 13:18:20 +08:00
fisker Cheung
bf7d90ae84
Switch html-styles to html-ua-styles ( #15334 )
2023-09-14 09:45:15 +08:00
Sosuke Suzuki
fa48415617
Bump Prettier dependency to 3.0.0
2023-07-05 21:50:05 +09:00
fisker Cheung
ecfa324b69
Format <script> inside SVG ( #14400 )
2023-04-10 10:43:48 +08:00
fisker Cheung
e4349cae71
Bump @prettier/parse-srcset to v3 ( #14665 )
2023-04-05 16:51:32 +08:00
fisker Cheung
75cd9992f0
Recognize the new search element ( #14615 )
2023-03-29 09:14:24 +08:00
fisker Cheung
cb25bd31f5
Don't trim in html insertPragma ( #14441 )
2023-03-06 10:47:17 +08:00
fisker Cheung
f8fff81005
Print HTML5 doctype in lowercase ( #7391 )
2022-08-08 01:13:18 +08:00
fisker Cheung
83400d19b4
Change default value of trailingComma to "all" ( #11479 )
2022-08-01 11:05:17 +08:00
fisker Cheung
9569ab12aa
Merge branch 'main' into next
...
# Conflicts:
# .github/renovate.json5
# .github/workflows/lint.yml
# package.json
# src/cli/format.js
# src/language-js/print/type-annotation.js
# src/language-js/print/typescript.js
# src/language-js/utils/index.js
# tests/format/typescript/enum/jsfmt.spec.js
# tests/format/vue/with-plugins/jsfmt.spec.js
# website/yarn.lock
# yarn.lock
2022-05-28 11:19:03 +08:00
Sosuke Suzuki
36c20c51bc
Support Speculation Rules API formatting in HTML ( #12882 )
...
* Add script formatting for `speculationrules`
* Fix lint problems
2022-05-17 10:38:46 +09:00
fisker Cheung and Sosuke Suzuki
6bd81c23b6
Migrate format test to ES Module ( #11902 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-01-04 17:00:25 +08:00
Jere Kankaanranta
0e42acb49b
feat: added singleAttributePerLine option ( #5501 ) ( #6644 )
2021-12-02 11:46:11 +03:00
James Long and fisker Cheung
6bf6b20aed
Reverts #7865 , keeping class names on the same line ( #11827 )
...
* Reverts #7865 , keeping class names on the same line
* Add changelog
* Fix lint
* Fix
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-11-18 16:10:41 +09:00
4992d97203
Deprecate jsxBracketSameLine option in favour of multi-language bracketSameLine option ( #11006 )
...
* deprecate jsxBracketSameLine in favour of multi-language angleBracketSameLine option
* update docs and snapshots
* update tests to to make them more reviewable
* Rewrite angular tests
* Rewrite html tests
* Rewrite vue tests
* Restore unnecessary changes in jsx
* Fix file location
* Test both `true` and `false`
* Revert changes in markdown
* Run tests on all js parsers
* Improve html test
* fix changelog comment
* move bracketSameLine to common options
* mark jsxBracketSameLine as deprecated
* Update changelog_unreleased/html/11006.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update 11006.md
* fix tests by removing `jsxBracketSameLine` `default` property
* fix style
* Revert docs under website dir
* Add tests for deprecated options
* Fix lint problems
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: sosukesuzuki <aosukeke@gmail.com >
2021-08-31 11:47:50 +09:00
tkalmar and Georgii Dolzhykov
fbca25cf8b
Allow : as class prefix-delimeter ( #10906 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-05-21 18:21:28 +08:00
fisker Cheung
ece93681f1
Restructure test files ( #10415 )
2021-04-25 20:01:56 +08:00