github.com/sveltejs/prettier-plugin-svelte
Format your svelte components using prettier.
https://github.com/sveltejs/prettier-plugin-svelte
601ee41a20311882bb9c046dcac21c868911b624 authored over 1 year ago
c968fef2c2de4092ccedc0f2f9ba7cb0f207669f authored over 1 year ago
08d7a8ba9978b5392d0adb4127da2cb7ed8aee6d authored over 1 year ago
fixes #428
96049c64bef1849eea44ae7c7c581aed65b7c7a1 authored over 1 year agoc8317eb0a0fb00bc4c05d47d5918fe8506013eda authored over 1 year ago
Adds a semi-standalone browser build under prettier-plugin-svelte/browser.
part of #69 (full ...
d89241e11249b662394d1b356fc461d370c7441a authored over 1 year agofixes #428
288d91567ddb37095cb063490108b4594377a374 authored over 1 year agoCloses #418
99c885e5d695bd59f26f156e66fd3f333f181e31 authored over 1 year agofixes #400
cc856a0e5dedd56b7edb0aa1be18adaf385a247a authored over 1 year ago
Also silences a (harmless) error log in the tests
closes #421
closes #419
related to https://github.com/sveltejs/language-tools/issues/2204
1c4bcfe186d9a23ceeebb791ac7065b57523a51a authored over 1 year ago66ec48bb73a275826da7c0e5b0cae73192ae5a2c authored over 1 year ago
f284d1b76cb037d6fe92bf18b35cc823fda854bb authored over 1 year ago
dd66514dba8184721c921433e0654884663c9ac1 authored over 1 year ago
typo
9060efde88d3a70560ba663b08217c79dc11d631 authored almost 2 years agob269610ce65de5a8e1c7699c39f24076b00a2bdb authored almost 2 years ago
fixes #395
6fc0b64f3b906e247c40119b9d608f166d1a5939 authored about 2 years ago90ef3053bd25bf27d9fbbb2e364b6cebdfe487ad authored about 2 years ago
0176f15fc7d8812e3e75946a69641f3a6758546c authored about 2 years ago
Prettier doesn't handle resolving the parser as automatically anymore in v3, so we need to add m...
9fb260a2f8b5d84036112883441b8a0cbbd8bede authored about 2 years agof86171d1eddcac3598a9ea57e2182053c9e739dd authored about 2 years ago
eddd8802e01d5c1b23dad9dc0c41cc958eaf095f authored about 2 years ago
54551a26d30ec261095dffae1b70bfac92fd092e authored about 2 years ago
closes #385
closes #368
closes #364
closes #359
5b7033541d518bad7e10186f132fac5cada89051 authored about 2 years ago
prevents some needless recursion into embed
d1cfc0b14e273f211dc377309893b15196e80b96 authored about 2 years ago- whether or not empty elements/components should self-close is now left to the user - in other ...
23f3dc4705e7feda4cea82b4a568227169f06dbe authored about 2 years agoRemoves concat, applies some needed changes to the print/embed machinery
---------
Co-auth...
19654d5c3722f71e94584cd58376097d867a4e3f authored about 2 years ago57bd5e342f3f14896a924253b0f6c7308dfdea6b authored about 2 years ago
see https://github.com/sveltejs/prettier-plugin-svelte/issues/370
9dcc594d96542bb48efdf05b1dd282d0e28a52a8 authored about 2 years ago97f1d1704a13bd545bb61174b1a63f1d80130f3b authored about 2 years ago
bd91bbf319fd9c469b041ba5901697de0e2229a3 authored over 2 years ago
closes #291
b7d0562dfd465c7ef6db706a8bb634122390233e authored over 2 years ago
Fix attributeRegex so that it correctly matches attributes that are not enclosed in quotes.
fix...
fixes #339
a94563cbbfe7744f089330a936089cc205c68736 authored over 2 years ago7abac5ff34afd26846de1f1865aaa3eef6494dc8 authored over 2 years ago
closes #350
2fbd812c1075cd776fb3a66f1ace92d6288f2ebf authored over 2 years ago
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes]...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4....
c4490bd9df0abf3680c1f2e0e6308d88e7d628d5 authored over 2 years ago
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](h...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3.
-...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](...
closes #322
5c088d8769d2f48e5351afe561e590af3e96165e authored over 2 years ago3a353abcc3667659c087a70569a21f03b9424894 authored over 2 years ago
when formatting style/class directives
fixes #328
closes #330
f3685aa555b2840db79b49a884256b20c366d379 authored over 2 years agod992637852413a3c921a4d5c6767559928d13548 authored over 2 years ago
e40ffbb6063577cf174665a6c1adbe8085ef2ea7 authored over 2 years ago
Fixes #321
14da6fb7fe0141771d88662b73efa53d39946b1f authored over 2 years agoFixes #323
7cfd71b2c747c134bd761f2c421700e4ee522a6b authored over 2 years agoebd7e9a0dd7d5096098e16d74e6d88b9e249916f authored almost 3 years ago
Closes #314
0957c4bdf0a44ae460db6125c3bbbb4455fd6f36 authored almost 3 years ago59f76c9771576841dfe6073feb8e77c0d341d061 authored almost 3 years ago
Closes #305
db2543fc3b4267912698f720bffbbf8d7e56d807 authored almost 3 years ago781bdd24b4bc4f874752a1cade25d0557d290cee authored almost 3 years ago
Fixes #298
5c51e9aba5ffee5268920c1ad2686c4c6a1752c9 authored almost 3 years ago64f67ac4660b907fdd24b84a904dcd15223296e3 authored almost 3 years ago
Fixes #290
4c23ba45c5190efbf376b7b52cab9cd97aa50618 authored almost 3 years agoccccee344970be0d713f90ba5d1f75905b90eef4 authored about 3 years ago
009cda5c12ee09e188b5d3e67a520089c41b34c1 authored over 3 years ago
1981bb7cb0a4bacdb21d4ee471b6aa78b1f1acb4 authored over 3 years ago
20d3cb4758523e0b8118ab8e40b5f1c6f2847e7c authored over 3 years ago
b10349d101a6569fc7ca4d18e489ba793d710c13 authored over 3 years ago
Fixes #281
d91867579c8ad4cf349f101dea4f3a3eb35a7883 authored over 3 years ago807937cdce31a39a073dd1b531cd45b767bef602 authored over 3 years ago
Requires Svelte 3.46.1 or later
ec6539e60818619366f3906c8c37bf05692cf259 authored over 3 years agoFixes #272
Also update package-lock.json for npm 8
d97d7f62c5fcdf6fd7cfd6305bfe764fc5c82362 authored over 3 years ago0473f025efb23d278dd2ac0c1865932134b587e4 authored over 3 years ago
Fixes #266
It remains to be seen if this is the desired behavior, but let's go with it for now....
#270
d524893475795532cc33f119a230d9a516dc58a1 authored over 3 years ago29f789730c80bac271e5953f0b1ef6f69cf196e7 authored over 3 years ago
- use expandNode for each context
- support array and object expressions in expandNode
#265
af1d500bbf135ff7b5f47783cc671a038964246d authored over 3 years ago
Correctly deal with changing spans
Fixes #261
4e73ff633515b8d0480f6253a858c394b00909ea authored over 3 years ago
93be55a12cf360accf415071f270dfbff89bb418 authored over 3 years ago
Fixes #259
8cf94c7289169021e454234a14795ffd3226af4d authored over 3 years ago
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Re...
When snipping the tag contents, after replacing a match, we need to adjust the matching spans as...
f5e5c4f8ed524a823ffa14a1811944a7629c926c authored almost 4 years ago21a9a545973fdea305d4f27358384207940706c5 authored almost 4 years ago
bf13623e394c478e3546902532422098a0e5aae9 authored almost 4 years ago
78f9194d50805583a6e6c729be2d26b35a38a434 authored almost 4 years ago
If the pug plugin is available, format template tags with that
230fa9cb92992c57c6298573d9def5dc657ec821 authored almost 4 years agoFixes #244
0c77275bdca01622061e124f037a7ecb9f9c6587 authored almost 4 years ago
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release n...
Fixes #237
011ae004b6613c34fd7d720adebecc2842a0cf75 authored about 4 years agod7c3d5b7ac52c436e2a1f0afbc5300d9c2ad1568 authored about 4 years ago
The check for hardline was insufficient. It could happen that one version of Prettier did create...
c50f5eb2f3c65d9829f02d2d360486fcc9f32c84 authored about 4 years ago
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release note...
558cc0b5f7edf75d5923ff5258b2a3b7712d37e1 authored about 4 years ago
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](htt...
b73e245b86ffeadd8aa83b6fe5034f47f8a08766 authored about 4 years ago
`<!-- prettier-ignore-start --> ... <!-- prettier-ignore-end -->` is now supported at HTML top l...
bb132d9dbf3495ce5d2784d847400850e76d8cff authored about 4 years agoIf a script tag is assumed to be JS, use babel-ts now to format the contents. The formatter prin...
9d1486edbd506e3997a88f79005be4cf80bda6ec authored about 4 years agoPrettier 2.3.0 changed the representation of concats from `{ type: 'concat', parts: [..] }` to `...
69fc702df32a7e8730f8f7bd509a111aa02692e4 authored about 4 years ago0299332eb64b5bf27715c91f9b536fb11380b41f authored about 4 years ago
924a3b9ba4530d3b726d9971bff231ee609fc701 authored about 4 years ago
Fixes #219
Fixes the comment case of #70
Closes #72