Skip to content

4.0 fails to recognise options available #66

Closed
@creyD

Description

@creyD

@creyD The 4.0 pre-release version fails to recognize the options available in the latest versions of prettier/plugin-xml:

[warn] Ignored unknown option { xmlSelfClosingSpace: false }.
[warn] Ignored unknown option { xmlWhitespaceSensitivity: "strict" }. 
       Did you mean htmlWhitespaceSensitivity?

Reverting to v3.3 allows checks to pass.

Originally posted by @infotexture in #48 (comment)

Activity

changed the title @creyD The [4.0](https://github.com/creyD/prettier_action/releases/tag/v4.0) pre-release version [fails](https://github.com/dita-ot/docs/runs/3778251458) to recognize the options available in the [latest versions of prettier/plugin-xml](https://github.com/prettier/plugin-xml/blob/main/CHANGELOG.md#110---2021-09-26): 4.0 fails to recognise options available on Oct 3, 2021
fbartho

fbartho commented on Nov 10, 2021

@fbartho

Have you already reported this upstream to prettier @creyD? I just ran across this myself when using prettier on the CLI

Nevermind me, Issue goes away for CLI when I upgrade to prettier 2.4.2

creyD

creyD commented on Nov 11, 2021

@creyD
OwnerAuthor

Good to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      4.0 fails to recognise options available · Issue #66 · creyD/prettier_action