-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I have my own project structure, where the configuration for Prettier is stored in a configuration subfolder rather than in the project root.
When setting PRETTIER_EXPERIMENTAL_CLI=1 env, the --ignore-path parameter stops working as expected (everything works fine when using the old CLI).
My command looks like this:
/var/www/html/node_modules/.bin/prettier . -c --config-path=/var/www/html/config/utils/.prettierrc.json --ignore-path=/var/www/html/config/utils/.prettierignore --cache --cache-location=var/cache/prettier/prettier.cachWhen moving the .prettierignore file to the root project directory, everything works fine.
Expected behavior:
The --ignore-path flag will work unchanged in the new CLI.
System parameters:
Prettier: 3.6.2
Node: 22.17.1
Metadata
Metadata
Assignees
Labels
No labels