-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacelocked-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.
Description
Environments:
- Prettier Version: 1.17.0
- Running Prettier via: CLI
- Runtime: Node.js
- Operating System: no matter
Steps to reproduce:
node_modules/.bin/prettier . --writeExpected behavior:
Format all supported files.
Actual behavior:
output:
[error] No matching files. Patterns tried: . !**/node_modules/** !./node_modules/** !**/.{git,svn,hg}/** !./.{git,svn,hg}/**
Additional info:
All popular linters (like stylelint and eslint) support . pattern. I think we should do same. I don't want have list of globs. It is good for DX and 0CJS configuration.
/cc @prettier/core What do you think? I can take care about this and send a PR.
phaux, aymericbeaumet, biolauri, frenzzy, teoxoy and 2 more
Metadata
Metadata
Assignees
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacelocked-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.