Closed arthvadrr closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
conisderate-cat-version-2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 7, 2024 8:06am |
considerate-cat-version-2-with-next | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 7, 2024 8:06am |
Pull Request Summary
.prettierrc
file and a pre-commit hook that formats code using that.prettierrc
file (pretty cool!) The idea is consistency in formatting in PRs without requiring IDE/Editor setup. The hook runs automatically before commits and uses husky and lint-staged. It will only format staged files, not the entire project. Prettier docs explains this feature a bit better.Note: I added a check for "main" branch, so it shouldn't run if the current branch is "main". The formatting is pretty safe since it's pre-commit but we shouldn't run it on main since it's a destructive action (overwriting).
CONTRIBUTING.md
file with instructions on how to contribute, including using the new Changelog and branch guidelines.README.md
andpackage.json
.Run
npm install
to get the new dev dependencies for the pre-commit hook.[2.1.6] 2024-09-07
New Features
Improvements
.husky/.gitignore
: Refined.husky/.gitignore
to exclude built scripts. Also excluded lint cache files in '.gitignore' in root.package.json
Update: Revisedpackage.json
to better reflect current project details and dependencies.README.md
for better tracking of notable changes.README.md
to enhance the visual representation of the project’s homepage.example.env
: Added anexample.env
file as a template for environment configuration.Fixes
.eslintcache
: Added.eslintcache
to.gitignore
to avoid tracking of cache files.