Closed amin-xiv closed 4 days ago
🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer from team will review it as soon as possible. We appreciate your support in making Dataverse better.
Name | Link |
---|---|
Latest commit | 1e4e8fc4c862ecc09725bc8530bc0aef547bff9b |
Latest deploy log | https://app.netlify.com/sites/multiverse-dataverse/deploys/673a05594f29d90008c382c3 |
Deploy Preview | https://deploy-preview-335--multiverse-dataverse.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@amin-xiv I will test and review it soon
Hey @amin-xiv, I tested the PR, it works great. But I had to run the Format Document
to run Prettier. So I had a doubt that it does not run automatically upon saving the files, right?
Also, is it possible to put the newly added files in some directory? So that there not too many files in the root directory. I understand that some files need to be in the root directory for automatic detection. Just let me know if some movement is possible.
Checkout this prettier.PNG
too and upload the correct image.
You can create a new cleaner pull request with the stated changes or make them in the existing one.
Hey @multiverseweb, Regarding the issue that it doesn't format on save, it should actually do. I tested it by deleting prettier, then creating a new directory, cloning the branch on the new directory and doing all of the steps and it works fine. But I can provide some extra steps for it to work.
npm install
after downloading Prettier.settings.json
file has the correct settings.About making the root directory look less crowded, I will be changing the location of .prettierignore
and .prettierrc
files from root directory to the website
folder in a new PR since they are only needed there.
Let me know your thoughts.
Description
I have added the Prettier setup to the project.
Related Issue
Fixes #321
Note:
.gitignore
file, in which the__pycache__
folder and thenode_modules
folder are ignored..gitattributes
folder to handle line endings across different systems.package.json
,.prettierrcc
...etc).prettier.png
image in the documentation will appear only after it has been merged.Type of change
Checklist