- 0c1b3c4: Fix indentation issues in sql, css and markdown embedded languages.
- 0c1b3c4: Fix embedded xml and prisma formatting behavior.
- 15dd288: feat: support shorthand for CallExpression as tag
-
fbb5cae: Fix wrong options fallback behaviors:
- Empty list of tags and comments shouldn't fallback to identifiers in options.
-
5cadbfa: Fix unstable embedded markdown indentation when using the
useTabsoption: #91 (comment). -
d132038: Make embedded
cssformatting more align with the built-in behavior.
-
442be39: Fix language plugin check false positives.
throwIfPluginIsNotFoundis discarded. Detailed explanation can be found at #84 (comment).
- b14447a: Fix a regression introduced in v0.4.11 caused by a wrong import specifier.
- 67d0726: Fix a regression of formatting template literals with only whitespaces:
- Template literals with only whitespaces should be formatted to
``.
- Template literals with only whitespaces should be formatted to
- 3639712: Set up changesets
- f4a41e7: Deprecate
identifier-named options.- Change options
embedded<Language>Identifierstoembedded<Language>Commentsandembedded<Language>Tags. - Remove option
because it is not needed anymore.noEmbeddedIdentificationByComment - Remove option
because it is not needded anymore.noEmbeddedIdentificationByTag embeddedOverridesnow takes the form:or{"comments": [...], "options": {...}}or{"tags": [...], "options": {...}}The property{"comments": [...], "tags": [...], "options": {...}}identifiersis kept for compatibility and will serve as fallbacks.- If
comment- ortag-named options are not present, the plugin will fallback to useidentifier-named options. - README updated to reflect the above changes.
- NO breaking changes.
- Change options