-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Problem with Docker*.json file #5351
Copy link
Copy link
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencystatus:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Milestone
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencystatus:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Environments:
Steps to reproduce:
Docker.json(contents:{})npx prettier --list-different '**/*.json' --loglevel debugExpected behavior:
For Prettier to run properly.
Actual behavior:
Prettier returns an error with the following logs:
What's odd is that the following files work:
docker.json,Docke.json,Doccer.json. It appears somehow related to theDockerprefix. As far as I can tell, anything afterDockerstill causes an issue (I first noticed this on aDockerrun.aws.jsonfile).