Add .gitignore for Astro
Reasons for making this change
I wanted to use "npx gitignore" with my new Astro project. I then found out that there is no gitignore for Astro in this repo.
Links to documentation supporting these rule changes
I couldn't find any documentation showing the gitignore file. I used the gitignore file from the astro repo from withastro.
https://github.com/withastro/astro/blob/main/.gitignore https://github.com/withastro/astro/
If this is a new template
Link to application or project’s homepage: https://astro.build/
Merge and Approval Steps
- [x] Confirm that you've read the contribution guidelines and ensured your PR aligns
- [ ] Ensure CI is passing
- [ ] Get a review and Approval from one of the maintainers
Hey @devsker! This contribution doesn't follow our guidelines, since it includes patterns for files like .DS_STORE that belong in global templates.
I would recommend including the rules that are specific to Astro from your template into the node.gitignore file instead: https://github.com/github/gitignore/blob/main/Node.gitignore
Let me know what you think!
This PR is stale because there have been no updates in 90 days. It will close after 365 days of inactivity. Leave a comment if you want to keep it open.