Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major Update 4.0 #48

Merged
merged 63 commits into from
Sep 7, 2021
Merged

Major Update 4.0 #48

merged 63 commits into from
Sep 7, 2021

Conversation

creyD
Copy link
Owner

@creyD creyD commented Apr 10, 2021

jsoref and others added 30 commits February 19, 2021 00:49
This script uses bashisms
Moved the action to composite
The previous system relied on a different shell's magic for handling `*` / `**`

nullglob
- If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves.

globstar
- If set, the pattern ‘**’ used in a filename expansion context will match all files and zero or more directories and subdirectories. If the pattern is followed by a ‘/’, only directories and subdirectories match.
The entrypoint script checks for correctly named Prettier plugins on [lines 44–45](https://github.com/creyD/prettier_action/blob/master/entrypoint.sh#L44-L45), but the description in the config file and README are not consistent.

This updates those references to clarify how plugins should be specified.
@creyD creyD added the enhancement New feature or request label Apr 10, 2021
@creyD creyD self-assigned this Apr 10, 2021
@creyD creyD assigned creyD and unassigned creyD Jun 16, 2021
@creyD
Copy link
Owner Author

creyD commented Jun 16, 2021

@fsz-codeshop Could you please take a look at this? Ever since we patched in the changes this action doesn't work anymore (only on dev currently)

@creyD creyD linked an issue Sep 7, 2021 that may be closed by this pull request
@creyD creyD merged commit 0b655e2 into master Sep 7, 2021
infotexture added a commit to dita-ot/docs that referenced this pull request Oct 2, 2021
This reverts commit 5c8efab.

The pre-release version [4.0](https://github.com/creyD/prettier_action/releases/tag/v4.0) causes checks to fail.

The changes in creyD/prettier_action#48 fail 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?

See https://github.com/prettier/plugin-xml/blob/main/CHANGELOG.md#110---2021-09-26:

Signed-off-by: Roger Sheen <[email protected]>
@infotexture
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
7 participants