prettier / prettier-eslint-cli

CLI for prettier-eslint
https://npm.im/prettier-eslint-cli
MIT License
539 stars 85 forks source link

Still reports "jsxBracketSameLine is deprecated." even when option is not used #428

Closed smac89 closed 2 years ago

smac89 commented 2 years ago

Relevant code/config.

{
    "printWidth": 120,
    "tabWidth": 4,
    "bracketSameLine": false,
    "trailingComma": "es5"
}

What you did:

prettier-eslint "src/**/*.@(js|ts|jsx|tsx)" "cypress/**/*.@(ts|js)" --write --prettier-last

What happened: I get a warning:

jsxBracketSameLine is deprecated.

Reproduction:

-- paste your link here --

Problem description: The program reports the deprecation of the jsxBracketSameLine option, which I'm aware of. As you can see from the prettier config above, there is no jsxBracketSameLine option being used.

Suggested solution: This program should respect the config for user-installed prettier and not produce such extraneous warnings.

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 6.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: