`PRETTIER_EXPERIMENTAL_CLI` env support is not documented?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 52.3k
- Forks
- 5k
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 117
Description
By the way, since the experimental cli is encouraged to be tried out, I'd expect it's already usable for most cases, but when I enable it I got:
Non-string plugin specifiers are not supported yet
There is even no warning and just use the default options when I'm using string config like:
// .prettierrc
"@1stg/prettier-config"
I have to use the following to get the warning:
import base from '@1stg/prettier-config'
export default base
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with PRETTIER_EXPERIMENTAL_CLI enabled, comparing the .prettierrc string configuration with the shown JavaScript configuration. Check the experimental CLI entry point and its documentation; done means the unsupported plugin behavior and expected configuration are clearly documented or consistently handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100