-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add copilot instructions #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a new Copilot instructions file to provide both general and project-specific coding guidelines for the React Native project.
- Introduces
.github/copilot-instructions.mdcontaining shared and per-project rules - Defines code style, tooling, and library preferences for Copilot suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new instructions file for Copilot to provide coding guidelines and context for the React Native project.
- Added .github/copilot-instructions.md with general and project-specific instructions.
- Details guidelines for code quality, code style, and preferred modules/libraries.
| - Avoid using `any` types. Always use specific types or interfaces. | ||
| - Avoid nesting ternary expressions. | ||
|
|
||
| # ------------------- PROJECT-SPECIFIC INSTRUCTIONS ----------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some basic setup based on wha we have in project and what you shared @pchalupa . But its all open for discussion what should be actually shared across team
pchalupa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
matejpolak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats for your first contribution @ZaweSK 👏
Description
Added a instructions file for copilot. This represents a set of rules that copilot uses to get context when providing solutions. The file is automatically added as a context in copilot chat
