I keep getting the following error when I run Prettier in the cli.
[error] No supported files were found in the directory: "views".
I am running:
Node v20.16.0
On:
Windows 11
I am building an API using Express. I have included the following .prettierignore:
**/*.html
views
node_modules
And the following .prettierrc:
{
"tabWidth": 3,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": true
}
And the following Git BASH version:
bash --version
GNU bash, version 5.2.26(1)-release (x86_64-pc-msys)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Prettier is working fine, in that it’s formatting my JS documents. I just want to get rid of the error at the end of the script’s processing. Any ideas how to accomplish this?