I installed prettier, and it works, but the rule doesn’t. When I do npm run pretty in the main folder of the repo, I get this:
iscsc.fr@0.1.2 pretty
npx prettier --write ‘**/*.{js,md,yml,css,html}’ ‘!mongodb/**’
[error] No files matching the pattern were found: “‘**/*.{js,md,yml,css,html}’”.
[error] No files matching the pattern were found: “‘!mongodb/**’”.
I’m on Windows. I googled this error, and it may have sth to do with the quotes.
I copied the readme file to another folder and was able to format it with prettier --write. I tried it on a copy for now, because I thought you’d prefer people to run the script. Let me know if it makes any difference. If not, I’ll format the file and push it. Or let me know if I need to do anything to make the rule work on my computer.
I installed
prettier
, and it works, but the rule doesn’t. When I donpm run pretty
in the main folder of the repo, I get this:I’m on Windows. I googled this error, and it may have sth to do with the quotes.
I copied the readme file to another folder and was able to format it with
prettier --write
. I tried it on a copy for now, because I thought you’d prefer people to run the script. Let me know if it makes any difference. If not, I’ll format the file and push it. Or let me know if I need to do anything to make the rule work on my computer.Originally posted by @OlaPom in https://github.com/iScsc/iscsc.fr/issues/96#issuecomment-1551000008